Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009056/0.0009056, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009452/0.0009452, allocations: 165.5 kB / 24.91 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9167/0.9167, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.311e-05, allocations: 5.266 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.003575/0.003588, allocations: 4.404 MB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.005288, allocations: 1.265 MB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.005485, allocations: 19.94 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.005792, allocations: 142.7 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.006095, allocations: 222 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.006423, allocations: 207.5 kB / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007411/0.007164, allocations: 0.7937 MB / 280.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.007408, allocations: 193 kB / 280.7 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/0.007783, allocations: 439 kB / 281.1 MB, free: 9.336 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.008041, allocations: 251.2 kB / 281.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.008104, allocations: 64 kB / 281.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.008197, allocations: 68 kB / 281.5 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-05/0.008284, allocations: 159.3 kB / 281.6 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.008439, allocations: 251.4 kB / 281.9 MB, free: 8.559 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.008822, allocations: 0.5019 MB / 282.4 MB, free: 8.055 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.008823, allocations: 0 / 282.4 MB, free: 8.055 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.008824, allocations: 0 / 282.4 MB, free: 8.055 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.008828, allocations: 0 / 282.4 MB, free: 8.055 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0008106/0.009639, allocations: 0.8738 MB / 283.2 MB, free: 7.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.009667, allocations: 11.98 kB / 283.2 MB, free: 7.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.009839, allocations: 112.8 kB / 283.4 MB, free: 7.035 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.01014, allocations: 295.6 kB / 283.6 MB, free: 6.719 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.01017, allocations: 41.69 kB / 283.7 MB, free: 6.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.241e-05/0.01023, allocations: 60.38 kB / 283.7 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/0.0106, allocations: 0.5403 MB / 284.3 MB, free: 6.023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.01061, allocations: 4.188 kB / 284.3 MB, free: 6.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.01064, allocations: 27.94 kB / 284.3 MB, free: 5.992 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.01065, allocations: 16 kB / 284.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.01081, allocations: 141.1 kB / 284.5 MB, free: 5.836 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.01215, allocations: 1.172 MB / 285.6 MB, free: 4.613 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.01245, allocations: 254.1 kB / 285.9 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/0.01283, allocations: 344.5 kB / 286.2 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.01286, allocations: 11.98 kB / 286.2 MB, free: 4.004 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.01311, allocations: 431.6 kB / 286.7 MB, free: 3.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.559e-05/0.01313, allocations: 0 / 286.7 MB, free: 3.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001525/0.01465, allocations: 0.7433 MB / 287.4 MB, free: 2.742 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.01473, allocations: 243.3 kB / 287.6 MB, free: 2.449 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.01495, allocations: 363.2 kB / 288 MB, free: 2.078 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.01497, allocations: 41.69 kB / 288 MB, free: 2.031 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.01508, allocations: 285.5 kB / 288.3 MB, free: 1.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.673e-05/0.01516, allocations: 158.7 kB / 288.5 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.657e-05/0.01524, allocations: 94.27 kB / 288.6 MB, free: 1.496 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.01534, allocations: 362.7 kB / 288.9 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.752e-05/0.01539, allocations: 53.22 kB / 289 MB, free: 1.082 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.01558, allocations: 389.8 kB / 289.4 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.01578, allocations: 276.5 kB / 289.6 MB, free: 280 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01578, allocations: 0 / 289.6 MB, free: 280 kB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.09882/0.1146, allocations: 434.6 kB / 290 MB, free: 25.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1146, allocations: 6.656 kB / 290.1 MB, free: 25.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.1146, allocations: 4.906 kB / 290.1 MB, free: 25.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006635/0.1153, allocations: 277.7 kB / 290.3 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.1155, allocations: 73.5 kB / 290.4 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.1172, allocations: 2.179 MB / 292.6 MB, free: 23.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.1175, allocations: 74.02 kB / 292.7 MB, free: 23.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.1175, allocations: 20.11 kB / 292.7 MB, free: 23.94 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.1176, allocations: 141.8 kB / 292.8 MB, free: 23.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.1177, allocations: 47.56 kB / 292.9 MB, free: 23.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.543e-05/0.1177, allocations: 56.69 kB / 292.9 MB, free: 23.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1177, allocations: 5.969 kB / 292.9 MB, free: 23.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1177, allocations: 4.406 kB / 292.9 MB, free: 23.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1177, allocations: 1.969 kB / 292.9 MB, free: 23.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000775/0.1185, allocations: 0.6763 MB / 293.6 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1185, allocations: 1.031 kB / 293.6 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.472e-05/0.1186, allocations: 30.44 kB / 293.6 MB, free: 23.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000544/0.1191, allocations: 276 kB / 293.9 MB, free: 23.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1191, allocations: 10.95 kB / 293.9 MB, free: 23.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.1206, allocations: 2.187 MB / 296.1 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1206, allocations: 1.656 kB / 296.1 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.1211, allocations: 0.5103 MB / 296.6 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.1211, allocations: 49.91 kB / 296.7 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.1212, allocations: 10.25 kB / 296.7 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1213, allocations: 43 kB / 296.7 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.1214, allocations: 36.64 kB / 296.7 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.1214, allocations: 9.859 kB / 296.8 MB, free: 22.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1215, allocations: 153.3 kB / 296.9 MB, free: 22.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1215, allocations: 0.5469 kB / 296.9 MB, free: 22.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004525/0.122, allocations: 200.6 kB / 297.1 MB, free: 22.05 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition1,opAmp.satPos,opAmp.satNeg,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001025/0.1221, allocations: 90.36 kB / 297.2 MB, free: 21.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005329/0.1226, allocations: 458.4 kB / 297.6 MB, free: 21.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.1226, allocations: 5.781 kB / 297.6 MB, free: 21.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.123, allocations: 366.1 kB / 298 MB, free: 21.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.1232, allocations: 73.03 kB / 298.1 MB, free: 21.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.1246, allocations: 0.9675 MB / 299 MB, free: 21.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.1247, allocations: 133.7 kB / 299.2 MB, free: 21.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.1248, allocations: 47.31 kB / 299.2 MB, free: 21.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.125, allocations: 142.2 kB / 299.4 MB, free: 21.09 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.125, allocations: 0 / 299.4 MB, free: 21.09 MB / 266.7 MB Notification: Performance of Templates: time 0.01015/0.1352, allocations: 7.587 MB / 306.9 MB, free: 18.24 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7913962733000517]