Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 109.4 kB / 17.73 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 184.1 kB / 18.66 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 51.91 kB / 328.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1396, allocations: 46.62 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.005265/0.145, allocations: 2.707 MB / 377.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1466, allocations: 0.7173 MB / 378.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.1469, allocations: 7.938 kB / 378.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.1473, allocations: 39.58 kB / 378.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.1476, allocations: 87.25 kB / 378.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.148, allocations: 103.8 kB / 378.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005062/0.1485, allocations: 350.5 kB / 379.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002963/0.1488, allocations: 88.67 kB / 379.3 MB, free: 456 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.1491, allocations: 127.5 kB / 379.4 MB, free: 328 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.1493, allocations: 155.3 kB / 379.5 MB, free: 172 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.571e-05/0.1494, allocations: 28 kB / 379.6 MB, free: 144 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.986e-05/0.1494, allocations: 32 kB / 379.6 MB, free: 112 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.1495, allocations: 67.75 kB / 379.7 MB, free: 44 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.279/0.4285, allocations: 141.2 kB / 379.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006633/0.4293, allocations: 324.6 kB / 380.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4293, allocations: 1.031 kB / 380.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.458e-06/0.4293, allocations: 0 / 380.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.4293, allocations: 3 kB / 380.1 MB, free: 10.11 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001453/0.4308, allocations: 0.6496 MB / 380.8 MB, free: 9.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.4308, allocations: 9.219 kB / 380.8 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.431, allocations: 33.09 kB / 380.8 MB, free: 9.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.4315, allocations: 277.6 kB / 381.1 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.4315, allocations: 16.12 kB / 381.1 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.4316, allocations: 20.88 kB / 381.1 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007011/0.4323, allocations: 243.9 kB / 381.4 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4323, allocations: 3.938 kB / 381.4 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.4324, allocations: 12.92 kB / 381.4 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.4324, allocations: 4.125 kB / 381.4 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008562/0.4332, allocations: 258.1 kB / 381.6 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.4353, allocations: 0.8554 MB / 382.5 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009505/0.4363, allocations: 226.3 kB / 382.7 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.4366, allocations: 100.5 kB / 382.8 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.4367, allocations: 3.797 kB / 382.8 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005068/0.4372, allocations: 175.7 kB / 383 MB, free: 8.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.4372, allocations: 0.5625 kB / 383 MB, free: 8.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.002166/0.4394, allocations: 0.5929 MB / 383.6 MB, free: 8.676 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.4394, allocations: 106.3 kB / 383.7 MB, free: 8.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.4398, allocations: 263.3 kB / 383.9 MB, free: 8.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.4398, allocations: 33.19 kB / 384 MB, free: 8.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.4399, allocations: 180.7 kB / 384.1 MB, free: 8.285 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.44, allocations: 48.66 kB / 384.2 MB, free: 8.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.4401, allocations: 43.39 kB / 384.2 MB, free: 8.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.4402, allocations: 338.9 kB / 384.6 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.4406, allocations: 104.5 kB / 384.7 MB, free: 7.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.441, allocations: 178.3 kB / 384.8 MB, free: 7.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006696/0.4416, allocations: 261.7 kB / 385.1 MB, free: 7.715 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4417, allocations: 1.312 kB / 385.1 MB, free: 7.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001162/0.4428, allocations: 438.2 kB / 385.5 MB, free: 7.613 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.4429, allocations: 37.92 kB / 385.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4429, allocations: 5.062 kB / 385.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005475/0.4434, allocations: 112.5 kB / 385.7 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.4437, allocations: 41.83 kB / 385.7 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.4459, allocations: 1.924 MB / 387.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.4462, allocations: 43.11 kB / 387.7 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.4462, allocations: 15.72 kB / 387.7 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003548/0.4466, allocations: 181.2 kB / 387.9 MB, free: 5.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003264/0.4469, allocations: 160.4 kB / 388 MB, free: 5.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006126/0.4476, allocations: 245.9 kB / 388.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.492e-06/0.4476, allocations: 1.281 kB / 388.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0009122/0.4485, allocations: 354.2 kB / 388.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.4485, allocations: 34.38 kB / 388.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4485, allocations: 2.5 kB / 388.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001339/0.4487, allocations: 47.16 kB / 388.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.4489, allocations: 44.64 kB / 388.7 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.4501, allocations: 1.724 MB / 390.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.4504, allocations: 49 kB / 390.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.4504, allocations: 11.88 kB / 390.5 MB, free: 3.801 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.4506, allocations: 198.9 kB / 390.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.4506, allocations: 22.92 kB / 390.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.428e-05/0.4507, allocations: 26.78 kB / 390.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4507, allocations: 5.375 kB / 390.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4507, allocations: 1.562 kB / 390.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.4507, allocations: 2.859 kB / 390.8 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.4511, allocations: 303 kB / 391.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.4511, allocations: 0 / 391.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.4512, allocations: 25.22 kB / 391.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002537/0.4515, allocations: 61.67 kB / 391.2 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.4515, allocations: 5.969 kB / 391.2 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.4533, allocations: 1.872 MB / 393 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4533, allocations: 0 / 393 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009041/0.4542, allocations: 326.8 kB / 393.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.4543, allocations: 105.1 kB / 393.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.4543, allocations: 9.656 kB / 393.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.4546, allocations: 30.88 kB / 393.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.4547, allocations: 19.56 kB / 393.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.4547, allocations: 5.203 kB / 393.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.4549, allocations: 188.6 kB / 393.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4549, allocations: 1.344 kB / 393.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006377/0.4556, allocations: 129.4 kB / 393.8 MB, free: 1.246 MB / 318.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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001395/0.4557, allocations: 102.9 kB / 393.9 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.4573, allocations: 0.7359 MB / 394.7 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4573, allocations: 0 / 394.7 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004594/0.4578, allocations: 237.5 kB / 394.9 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.4582, allocations: 49.75 kB / 394.9 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.4601, allocations: 0.7043 MB / 395.7 MB, free: 256 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.4605, allocations: 0.7501 MB / 396.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.4606, allocations: 26.52 kB / 396.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.4607, allocations: 24.16 kB / 396.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4607, allocations: 1.031 kB / 396.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of Templates: time 0.01019/0.4709, allocations: 4.277 MB / 400.7 MB, free: 14.79 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches