Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 92.33 kB / 21.73 MB, free: 2.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002508/0.002508, allocations: 167.1 kB / 25.02 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 250.4 MB, free: 3.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.769e-05, allocations: 2.312 kB / 250.4 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007754/0.007782, allocations: 5.038 MB / 255.4 MB, free: 14.85 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.01153, allocations: 1.403 MB / 256.8 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008534/0.01238, allocations: 19.94 kB / 256.8 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006497/0.01303, allocations: 162.4 kB / 257 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.01413, allocations: 293.2 kB / 257.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.0152, allocations: 359.3 kB / 257.6 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002101/0.0173, allocations: 1.28 MB / 258.9 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006659/0.01797, allocations: 277.4 kB / 259.2 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.0196, allocations: 0.694 MB / 259.9 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008437/0.02044, allocations: 402.9 kB / 260.3 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003072/0.02075, allocations: 131.9 kB / 260.4 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.0212, allocations: 159.9 kB / 260.6 MB, free: 9.664 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002523/0.02146, allocations: 251.2 kB / 260.8 MB, free: 9.418 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005201/0.02198, allocations: 391.1 kB / 261.2 MB, free: 9.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.02381, allocations: 1.476 MB / 262.7 MB, free: 7.555 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.02381, allocations: 0 / 262.7 MB, free: 7.555 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.02381, allocations: 0 / 262.7 MB, free: 7.555 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.02383, allocations: 0 / 262.7 MB, free: 7.555 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002725/0.02655, allocations: 1.233 MB / 263.9 MB, free: 6.289 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.0266, allocations: 8.031 kB / 263.9 MB, free: 6.281 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003133/0.02691, allocations: 180.3 kB / 264.1 MB, free: 6.105 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008868/0.0278, allocations: 471 kB / 264.5 MB, free: 5.617 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.924e-05/0.02786, allocations: 58.38 kB / 264.6 MB, free: 5.559 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.02803, allocations: 96.2 kB / 264.7 MB, free: 5.465 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.02994, allocations: 1.074 MB / 265.8 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.02995, allocations: 4.188 kB / 265.8 MB, free: 4.324 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.752e-05/0.03005, allocations: 36.38 kB / 265.8 MB, free: 4.289 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.03008, allocations: 27.92 kB / 265.8 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.03173, allocations: 0.773 MB / 266.6 MB, free: 3.488 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005165/0.03689, allocations: 2.62 MB / 269.2 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.03811, allocations: 0.6155 MB / 269.8 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007413/0.03885, allocations: 374.6 kB / 270.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.304e-05/0.03891, allocations: 16.66 kB / 270.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.03895, allocations: 39.22 kB / 270.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 2.555e-06/0.03896, allocations: 4 kB / 270.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=71): time 0.006892/0.04585, allocations: 2.147 MB / 272.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/0.04593, allocations: 60.06 kB / 272.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008387/0.04677, allocations: 494 kB / 273 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.887e-05/0.04684, allocations: 37.7 kB / 273 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.04721, allocations: 400.4 kB / 273.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000291/0.0475, allocations: 261.7 kB / 273.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/0.04777, allocations: 138.6 kB / 273.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002439/0.04801, allocations: 374.7 kB / 274.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006889/0.0487, allocations: 313.9 kB / 274.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008104/0.04951, allocations: 425.1 kB / 274.9 MB, free: 11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.05105, allocations: 0.7428 MB / 275.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.05105, allocations: 0 / 275.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002651/0.0537, allocations: 1.068 MB / 276.7 MB, free: 9.145 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.05372, allocations: 6.656 kB / 276.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.05374, allocations: 4 kB / 276.7 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007351/0.05447, allocations: 194.8 kB / 276.9 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009115/0.05539, allocations: 179.8 kB / 277 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004628/0.06001, allocations: 2.711 MB / 279.8 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006398/0.06065, allocations: 36.03 kB / 279.8 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.816e-05/0.06073, allocations: 28 kB / 279.8 MB, free: 5.898 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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): 1 system {(5,11,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004484/0.06118, allocations: 221.7 kB / 280 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.0614, allocations: 95.58 kB / 280.1 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.0616, allocations: 81.88 kB / 280.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.06161, allocations: 8 kB / 280.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.06162, allocations: 0 / 280.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.06163, allocations: 3.984 kB / 280.2 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009826/0.06261, allocations: 0.5878 MB / 280.8 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.06262, allocations: 0 / 280.8 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007668/0.06338, allocations: 151.8 kB / 281 MB, free: 4.715 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006718/0.06406, allocations: 184.6 kB / 281.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/0.06412, allocations: 23.98 kB / 281.2 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004409/0.06853, allocations: 2.718 MB / 283.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.06853, allocations: 0 / 283.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/0.07181, allocations: 1.408 MB / 285.3 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.07199, allocations: 63.5 kB / 285.3 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.383e-05/0.07209, allocations: 16 kB / 285.4 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/0.07274, allocations: 47.95 kB / 285.4 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.07291, allocations: 52.55 kB / 285.5 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.213e-05/0.07297, allocations: 27.98 kB / 285.5 MB, free: 60 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004895/0.07346, allocations: 334.9 kB / 285.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07346, allocations: 0 / 285.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00102/0.07448, allocations: 220 kB / 286 MB, free: 15.52 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.C.v,Transistor2.ct.v,Transistor2.Tr.C.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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): 1 system {(5,11,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002975/0.07478, allocations: 139.3 kB / 286.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.07734, allocations: 0.9607 MB / 287.1 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.07735, allocations: 0 / 287.1 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.07889, allocations: 0.6039 MB / 287.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007653/0.07966, allocations: 130.4 kB / 287.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.08315, allocations: 1.729 MB / 289.6 MB, free: 11.89 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/0.08368, allocations: 369.2 kB / 289.9 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004239/0.08411, allocations: 80.83 kB / 290 MB, free: 11.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.08429, allocations: 52.48 kB / 290.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of SimCode: time 1.834e-06/0.08429, allocations: 0 / 290.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of Templates: time 0.02143/0.1057, allocations: 10.23 MB / 300.3 MB, free: 1.156 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.841547742020339]