Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 108.4 kB / 18.4 MB, free: 4.699 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.001751/0.001751, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.535/1.535, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00158/0.00158, allocations: 48.36 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1146, allocations: 46.61 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.005365/0.12, allocations: 2.753 MB / 378.6 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1218, allocations: 0.6823 MB / 379.3 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003471/0.1222, allocations: 7.938 kB / 379.3 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.1225, allocations: 43.58 kB / 379.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004167/0.1229, allocations: 91.19 kB / 379.4 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.1234, allocations: 91.81 kB / 379.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.124, allocations: 382.3 kB / 379.9 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.1243, allocations: 122.9 kB / 380 MB, free: 400 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/0.1246, allocations: 143.5 kB / 380.1 MB, free: 256 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.1249, allocations: 163.3 kB / 380.3 MB, free: 92 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.038e-05/0.125, allocations: 40 kB / 380.3 MB, free: 52 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.561e-05/0.1251, allocations: 35.94 kB / 380.4 MB, free: 16 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2401/0.3652, allocations: 64.91 kB / 380.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003117/0.3656, allocations: 166.6 kB / 380.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.3662, allocations: 373.6 kB / 381 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3662, allocations: 0 / 381 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3662, allocations: 2.812 kB / 381 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.3662, allocations: 1.375 kB / 381 MB, free: 10.09 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001271/0.3675, allocations: 0.652 MB / 381.6 MB, free: 9.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.3675, allocations: 9.281 kB / 381.6 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.3677, allocations: 37.67 kB / 381.7 MB, free: 9.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.3681, allocations: 264.2 kB / 381.9 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.3682, allocations: 21.89 kB / 381.9 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.3682, allocations: 23.56 kB / 382 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008425/0.3691, allocations: 303 kB / 382.3 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.3691, allocations: 3.938 kB / 382.3 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.3691, allocations: 9.375 kB / 382.3 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.3692, allocations: 9.641 kB / 382.3 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008175/0.37, allocations: 253 kB / 382.5 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.3719, allocations: 1.087 MB / 383.6 MB, free: 8.723 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/0.3728, allocations: 210.5 kB / 383.8 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/0.3732, allocations: 91.89 kB / 383.9 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.3732, allocations: 3.938 kB / 383.9 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005135/0.3737, allocations: 170.5 kB / 384.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.953e-06/0.3738, allocations: 0 / 384.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.002267/0.376, allocations: 0.5103 MB / 384.6 MB, free: 8.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.3761, allocations: 107.1 kB / 384.7 MB, free: 8.324 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.3764, allocations: 283.3 kB / 385 MB, free: 8.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.3765, allocations: 30.95 kB / 385 MB, free: 8.184 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.3766, allocations: 197.2 kB / 385.2 MB, free: 8.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.3767, allocations: 39.83 kB / 385.2 MB, free: 8.027 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.986e-05/0.3768, allocations: 52.31 kB / 385.3 MB, free: 8.008 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.3769, allocations: 339.2 kB / 385.6 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.3772, allocations: 96.22 kB / 385.7 MB, free: 7.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.3776, allocations: 197.6 kB / 385.9 MB, free: 7.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006626/0.3783, allocations: 299.8 kB / 386.2 MB, free: 7.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3783, allocations: 1.719 kB / 386.2 MB, free: 7.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001208/0.3795, allocations: 433.4 kB / 386.6 MB, free: 7.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.3796, allocations: 37.91 kB / 386.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.3796, allocations: 3.391 kB / 386.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003779/0.38, allocations: 73.2 kB / 386.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.3802, allocations: 50.03 kB / 386.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.3826, allocations: 1.717 MB / 388.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.3829, allocations: 52.23 kB / 388.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.383, allocations: 14 kB / 388.6 MB, free: 5.801 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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.0001371/0.3831, allocations: 150.6 kB / 388.7 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.3832, allocations: 26.97 kB / 388.7 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.3832, allocations: 23.12 kB / 388.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3832, allocations: 2.594 kB / 388.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3832, allocations: 0 / 388.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-05/0.3833, allocations: 114.5 kB / 388.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.3834, allocations: 7 kB / 388.9 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.3836, allocations: 30.02 kB / 388.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.48e-05/0.3837, allocations: 34.22 kB / 388.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001333/0.3851, allocations: 371.5 kB / 389.3 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001041/0.3861, allocations: 475.1 kB / 389.8 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003316/0.3865, allocations: 94.88 kB / 389.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.3867, allocations: 204.6 kB / 390.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of Backend: time 6.82e-07/0.3867, allocations: 0 / 390.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.3878, allocations: 421 kB / 390.5 MB, free: 4.617 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009897/0.3888, allocations: 0.9342 MB / 391.4 MB, free: 3.844 MB / 318.1 MB Notification: Performance of Templates: time 0.009948/0.3987, allocations: 4.26 MB / 395.7 MB, free: 3.539 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches