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.00151/0.00151, allocations: 110.6 kB / 18.41 MB, free: 4.648 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.001685/0.001685, allocations: 186 kB / 19.34 MB, free: 3.727 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.257/1.257, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001294/0.001294, allocations: 43.94 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0709/0.0722, allocations: 46.61 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003398/0.07561, allocations: 2.745 MB / 378.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.07677, allocations: 0.6823 MB / 379.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.07694, allocations: 7.938 kB / 379.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.07711, allocations: 47.56 kB / 379.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.07731, allocations: 103.2 kB / 379.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.07757, allocations: 87.83 kB / 379.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003831/0.07796, allocations: 382.3 kB / 379.9 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.07817, allocations: 118.9 kB / 380 MB, free: 388 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.07835, allocations: 143.5 kB / 380.1 MB, free: 244 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.07856, allocations: 171.2 kB / 380.3 MB, free: 72 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.842e-05/0.07862, allocations: 36 kB / 380.3 MB, free: 36 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.325e-05/0.07869, allocations: 32 kB / 380.4 MB, free: 4 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1467/0.2254, allocations: 72.06 kB / 380.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.2256, allocations: 160.7 kB / 380.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.2261, allocations: 380.1 kB / 381 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2261, allocations: 0 / 381 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2261, allocations: 3.906 kB / 381 MB, free: 10.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.2261, allocations: 0 / 381 MB, free: 10.12 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.00119/0.2273, allocations: 0.6536 MB / 381.6 MB, free: 9.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2274, allocations: 10.16 kB / 381.6 MB, free: 9.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/0.2274, allocations: 37.2 kB / 381.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.2278, allocations: 273.1 kB / 381.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.2278, allocations: 20.25 kB / 382 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.2279, allocations: 22.94 kB / 382 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/0.2285, allocations: 302.3 kB / 382.3 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2285, allocations: 6.75 kB / 382.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.2286, allocations: 9.906 kB / 382.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2286, allocations: 6.531 kB / 382.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007699/0.2294, allocations: 253 kB / 382.5 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.2309, allocations: 1.09 MB / 383.6 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008014/0.2318, allocations: 212.4 kB / 383.8 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.2321, allocations: 90.14 kB / 383.9 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.2321, allocations: 2.141 kB / 383.9 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004213/0.2326, allocations: 169.2 kB / 384.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.155e-06/0.2326, allocations: 4.547 kB / 384.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001985/0.2346, allocations: 0.5091 MB / 384.6 MB, free: 8.473 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.2346, allocations: 108.8 kB / 384.7 MB, free: 8.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.2349, allocations: 287.5 kB / 385 MB, free: 8.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.2349, allocations: 26.83 kB / 385 MB, free: 8.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/0.235, allocations: 202.3 kB / 385.2 MB, free: 8.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.235, allocations: 41.28 kB / 385.3 MB, free: 8.043 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/0.2351, allocations: 51.39 kB / 385.3 MB, free: 8.027 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.915e-05/0.2352, allocations: 338.5 kB / 385.6 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/0.2355, allocations: 95.3 kB / 385.7 MB, free: 7.711 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.2359, allocations: 198.5 kB / 385.9 MB, free: 7.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.2365, allocations: 301 kB / 386.2 MB, free: 7.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2365, allocations: 6.031 kB / 386.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001128/0.2377, allocations: 423.8 kB / 386.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.2377, allocations: 36.77 kB / 386.7 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.2377, allocations: 3.719 kB / 386.7 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000325/0.238, allocations: 79.11 kB / 386.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.2383, allocations: 50.03 kB / 386.8 MB, free: 7.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.2402, allocations: 1.714 MB / 388.5 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.2405, allocations: 63.7 kB / 388.6 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.2406, allocations: 9.625 kB / 388.6 MB, free: 5.797 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.0001121/0.2407, allocations: 154.2 kB / 388.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.2407, allocations: 28.59 kB / 388.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.2408, allocations: 22.94 kB / 388.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2408, allocations: 1.734 kB / 388.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2408, allocations: 0 / 388.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.907e-05/0.2409, allocations: 116 kB / 388.9 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.2409, allocations: 7.422 kB / 388.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.2412, allocations: 32.92 kB / 389 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.2413, allocations: 32.88 kB / 389 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001229/0.2425, allocations: 363.2 kB / 389.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009475/0.2435, allocations: 486.1 kB / 389.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002968/0.2438, allocations: 85.08 kB / 389.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001658/0.244, allocations: 201.4 kB / 390.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of Backend: time 3.91e-07/0.244, allocations: 0 / 390.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009004/0.2449, allocations: 424.8 kB / 390.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007507/0.2457, allocations: 0.942 MB / 391.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of Templates: time 0.00826/0.2539, allocations: 4.133 MB / 395.6 MB, free: 3.562 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