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.001351/0.001351, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001427/0.001427, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 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 1.526/1.526, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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 2.294e-06/2.294e-06, allocations: 0 / 272.2 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.431e-05/3.661e-05, allocations: 2.312 kB / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.008063/0.008099, allocations: 4.08 MB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.01101, allocations: 1.199 MB / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006374/0.01165, allocations: 23.88 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006363/0.01228, allocations: 138.7 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008884/0.01317, allocations: 210.2 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007176/0.01389, allocations: 223.4 kB / 278.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.01519, allocations: 0.7858 MB / 278.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000455/0.01565, allocations: 187 kB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007915/0.01644, allocations: 446.9 kB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.01688, allocations: 239.2 kB / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.01699, allocations: 64 kB / 279.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.01717, allocations: 72 kB / 279.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.01735, allocations: 155.3 kB / 280 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.01768, allocations: 243.4 kB / 280.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.01869, allocations: 0.7748 MB / 281 MB, free: 8.922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.0187, allocations: 0 / 281 MB, free: 8.922 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.0187, allocations: 0 / 281 MB, free: 8.922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.01871, allocations: 0 / 281 MB, free: 8.922 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.001917/0.02062, allocations: 0.9503 MB / 282 MB, free: 7.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.02067, allocations: 11.98 kB / 282 MB, free: 7.926 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004314/0.0211, allocations: 144.4 kB / 282.1 MB, free: 7.785 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006581/0.02176, allocations: 371.5 kB / 282.5 MB, free: 7.395 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.02181, allocations: 41.69 kB / 282.6 MB, free: 7.352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.02192, allocations: 60.38 kB / 282.6 MB, free: 7.293 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.02313, allocations: 0.6803 MB / 283.3 MB, free: 6.562 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.02315, allocations: 4.188 kB / 283.3 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.581e-05/0.02321, allocations: 27.94 kB / 283.3 MB, free: 6.531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.02323, allocations: 12 kB / 283.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000828/0.02406, allocations: 397.1 kB / 283.7 MB, free: 6.129 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/0.02732, allocations: 1.51 MB / 285.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008283/0.02815, allocations: 357.9 kB / 285.6 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.02921, allocations: 412.4 kB / 286 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.02925, allocations: 11.98 kB / 286 MB, free: 3.781 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007309/0.02998, allocations: 499.6 kB / 286.5 MB, free: 3.207 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.984e-06/0.02998, allocations: 0 / 286.5 MB, free: 3.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.003181/0.03316, allocations: 0.962 MB / 287.4 MB, free: 2.234 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001893/0.03335, allocations: 239.3 kB / 287.7 MB, free: 1.945 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006103/0.03396, allocations: 421.8 kB / 288.1 MB, free: 1.523 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/0.03401, allocations: 29.7 kB / 288.1 MB, free: 1.488 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.03434, allocations: 332.6 kB / 288.4 MB, free: 1.156 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.03449, allocations: 146.8 kB / 288.6 MB, free: 1.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.03467, allocations: 98.3 kB / 288.7 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.0349, allocations: 354.8 kB / 289 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.03521, allocations: 145.2 kB / 289.2 MB, free: 420 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006341/0.03585, allocations: 485.7 kB / 289.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/0.03665, allocations: 416.6 kB / 290.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.03665, allocations: 0 / 290.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001613/0.03826, allocations: 0.6775 MB / 290.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.03829, allocations: 4 kB / 290.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.0383, allocations: 4 kB / 290.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/0.03985, allocations: 339.7 kB / 291.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.04022, allocations: 83.83 kB / 291.2 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004715/0.04493, allocations: 2.679 MB / 293.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005633/0.04549, allocations: 79.53 kB / 293.9 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.04554, allocations: 20 kB / 293.9 MB, free: 11.38 MB / 282.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.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003252/0.04586, allocations: 189.8 kB / 294.1 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.04596, allocations: 59.72 kB / 294.2 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.0461, allocations: 56.81 kB / 294.2 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.0461, allocations: 7.984 kB / 294.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.04611, allocations: 3.984 kB / 294.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.04612, allocations: 7.922 kB / 294.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.04814, allocations: 1.024 MB / 295.3 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.04814, allocations: 0 / 295.3 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.04837, allocations: 47.91 kB / 295.3 MB, free: 9.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.0498, allocations: 331.7 kB / 295.6 MB, free: 9.617 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.04982, allocations: 7.984 kB / 295.7 MB, free: 9.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004345/0.05417, allocations: 2.729 MB / 298.4 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.05417, allocations: 0 / 298.4 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.05595, allocations: 0.8305 MB / 299.2 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.05606, allocations: 51.62 kB / 299.3 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.05612, allocations: 8 kB / 299.3 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.05647, allocations: 39.97 kB / 299.3 MB, free: 5.824 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.05658, allocations: 39.98 kB / 299.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.05661, allocations: 12 kB / 299.4 MB, free: 5.773 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004896/0.0571, allocations: 295.1 kB / 299.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0571, allocations: 0 / 299.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000708/0.05781, allocations: 187.7 kB / 299.8 MB, free: 5.305 MB / 282.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,rootMeanSquare.mean.y_last,opAmp.satNeg,opAmp.satPos) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000169/0.05797, allocations: 111.2 kB / 299.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.05916, allocations: 0.5493 MB / 300.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.05916, allocations: 3.938 kB / 300.5 MB, free: 4.621 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007132/0.05987, allocations: 387.1 kB / 300.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.06039, allocations: 74.41 kB / 300.9 MB, free: 4.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.0628, allocations: 1.048 MB / 302 MB, free: 3.078 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.06312, allocations: 267.7 kB / 302.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.06332, allocations: 48.25 kB / 302.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-05/0.06342, allocations: 40.5 kB / 302.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.06342, allocations: 0 / 302.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of Templates: time 0.1335/0.1969, allocations: 6.894 MB / 309.2 MB, free: 40.92 MB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.658600709983148]