Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.00193/0.00193, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001931/0.001931, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.549/1.549, allocations: 230.6 MB / 254.1 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 47.92 kB / 373.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1197, allocations: 53.34 MB / 426.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.005372/0.125, allocations: 2.961 MB / 429.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1265, allocations: 0.7635 MB / 430.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.1267, allocations: 4 kB / 430.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.1269, allocations: 51.5 kB / 430.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.1271, allocations: 103.2 kB / 430.7 MB, free: 420 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.1274, allocations: 123.8 kB / 430.8 MB, free: 296 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2587/0.3862, allocations: 412.5 kB / 431.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.3865, allocations: 88.55 kB / 431.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.3868, allocations: 159.3 kB / 431.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.3871, allocations: 169.5 kB / 431.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.086e-05/0.3872, allocations: 40.16 kB / 431.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.349e-05/0.3872, allocations: 41.72 kB / 431.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.552e-05/0.3873, allocations: 83.8 kB / 431.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.3875, allocations: 178.7 kB / 432 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.388, allocations: 449.6 kB / 432.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.388, allocations: 5.656 kB / 432.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.388, allocations: 1.406 kB / 432.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.3881, allocations: 0 / 432.4 MB, free: 8.484 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001331/0.3894, allocations: 0.6807 MB / 433.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3894, allocations: 13.31 kB / 433.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.69e-05/0.3895, allocations: 40.61 kB / 433.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/0.39, allocations: 302.2 kB / 433.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.39, allocations: 19.72 kB / 433.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.39, allocations: 23.22 kB / 433.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007344/0.3908, allocations: 326 kB / 433.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3908, allocations: 4.625 kB / 433.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.3908, allocations: 10.45 kB / 433.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.3908, allocations: 10.31 kB / 433.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008757/0.3917, allocations: 281.6 kB / 434.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.3936, allocations: 1.15 MB / 435.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009387/0.3945, allocations: 235.5 kB / 435.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.3949, allocations: 103.7 kB / 435.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.3949, allocations: 4.531 kB / 435.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005428/0.3955, allocations: 184.3 kB / 435.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.3955, allocations: 0 / 435.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00268/0.3981, allocations: 0.6707 MB / 436.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.3982, allocations: 106.2 kB / 436.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.3986, allocations: 284.8 kB / 436.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.3986, allocations: 31.64 kB / 436.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.3987, allocations: 206.6 kB / 437.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.3988, allocations: 44.72 kB / 437.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.3989, allocations: 52.55 kB / 437.2 MB, free: 6.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.399, allocations: 343.6 kB / 437.5 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.3994, allocations: 103 kB / 437.6 MB, free: 6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.3998, allocations: 211.3 kB / 437.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000737/0.4005, allocations: 317.5 kB / 438.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4005, allocations: 6.281 kB / 438.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001345/0.4019, allocations: 485 kB / 438.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.4019, allocations: 34.98 kB / 438.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.4019, allocations: 2.312 kB / 438.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004863/0.4024, allocations: 80.81 kB / 438.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.4027, allocations: 56.19 kB / 438.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/0.4059, allocations: 2.063 MB / 440.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.4063, allocations: 58.3 kB / 440.9 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.4063, allocations: 14.39 kB / 440.9 MB, free: 3.695 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001788/0.4065, allocations: 162 kB / 441.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.4065, allocations: 24.25 kB / 441.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.4066, allocations: 24.17 kB / 441.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4066, allocations: 1.156 kB / 441.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4066, allocations: 1.156 kB / 441.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.4066, allocations: 0.75 kB / 441.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.407, allocations: 330.2 kB / 441.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.407, allocations: 0.5625 kB / 441.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.4071, allocations: 25.34 kB / 441.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003127/0.4074, allocations: 90.83 kB / 441.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.4075, allocations: 2.016 kB / 441.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/0.4099, allocations: 1.975 MB / 443.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4099, allocations: 5.219 kB / 443.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.4112, allocations: 360.2 kB / 443.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/0.4113, allocations: 110.2 kB / 444 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.4114, allocations: 10.22 kB / 444 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.4116, allocations: 34.08 kB / 444 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.4117, allocations: 22.02 kB / 444.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.4118, allocations: 4.172 kB / 444.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002774/0.412, allocations: 203.2 kB / 444.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.412, allocations: 0 / 444.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005499/0.4126, allocations: 79.23 kB / 444.3 MB, free: 1.145 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001665/0.4128, allocations: 109.1 kB / 444.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.4142, allocations: 497.8 kB / 444.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4142, allocations: 1.156 kB / 444.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005209/0.4148, allocations: 231.6 kB / 445.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.4151, allocations: 46.3 kB / 445.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.4185, allocations: 0.934 MB / 446.1 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.4189, allocations: 0.7555 MB / 446.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.4191, allocations: 30.52 kB / 446.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.4191, allocations: 24.72 kB / 446.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4191, allocations: 0 / 446.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Templates: time 0.01046/0.4296, allocations: 4.191 MB / 451.1 MB, free: 15.25 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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: 5.041856195777655]