Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.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.OpAmps.InvertingAmp,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.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,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.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 105.7 kB / 18.4 MB, free: 4.66 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.001004/0.001004, allocations: 187 kB / 19.34 MB, free: 3.734 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.238/1.238, 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.001193/0.001193, allocations: 47.94 kB / 329.2 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07129/0.07249, allocations: 46.61 MB / 375.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.003637/0.07616, allocations: 2.699 MB / 378.6 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.07744, allocations: 0.7251 MB / 379.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.07762, allocations: 4 kB / 379.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.07779, allocations: 39.58 kB / 379.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.07799, allocations: 91.25 kB / 379.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.07828, allocations: 103.8 kB / 379.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.07867, allocations: 350.5 kB / 379.9 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.07886, allocations: 88.69 kB / 379.9 MB, free: 440 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.07905, allocations: 131.4 kB / 380.1 MB, free: 308 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.07926, allocations: 147.4 kB / 380.2 MB, free: 160 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.909e-05/0.07933, allocations: 32 kB / 380.2 MB, free: 128 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.047e-05/0.07938, allocations: 28 kB / 380.3 MB, free: 100 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.07945, allocations: 67.75 kB / 380.3 MB, free: 32 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1454/0.2249, allocations: 143.8 kB / 380.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.2253, allocations: 320.8 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.2253, allocations: 1.375 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.2253, allocations: 0 / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.2253, allocations: 0.9375 kB / 380.8 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001059/0.2263, allocations: 0.6389 MB / 381.4 MB, free: 9.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2264, allocations: 10.42 kB / 381.4 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.2265, allocations: 31.66 kB / 381.5 MB, free: 9.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.2268, allocations: 276.2 kB / 381.7 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.2268, allocations: 16.16 kB / 381.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.2268, allocations: 21.06 kB / 381.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.2274, allocations: 247.1 kB / 382 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2274, allocations: 3.938 kB / 382 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.2275, allocations: 9 kB / 382 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2275, allocations: 7.219 kB / 382 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007208/0.2282, allocations: 253.7 kB / 382.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.2295, allocations: 0.854 MB / 383.1 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007089/0.2302, allocations: 230.4 kB / 383.4 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.2305, allocations: 96.88 kB / 383.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.2306, allocations: 6.281 kB / 383.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004152/0.231, allocations: 177.9 kB / 383.6 MB, free: 8.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.231, allocations: 4 kB / 383.6 MB, free: 8.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001903/0.2329, allocations: 0.586 MB / 384.2 MB, free: 8.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.233, allocations: 106 kB / 384.3 MB, free: 8.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.2332, allocations: 253.8 kB / 384.6 MB, free: 8.445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.2332, allocations: 32.33 kB / 384.6 MB, free: 8.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.2333, allocations: 174.1 kB / 384.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.2333, allocations: 46.8 kB / 384.8 MB, free: 8.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.2334, allocations: 46.34 kB / 384.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.2335, allocations: 336.6 kB / 385.2 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.2338, allocations: 97.44 kB / 385.3 MB, free: 7.922 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.2341, allocations: 162.2 kB / 385.5 MB, free: 7.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/0.2346, allocations: 251.6 kB / 385.7 MB, free: 7.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2347, allocations: 1.156 kB / 385.7 MB, free: 7.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001025/0.2357, allocations: 417.8 kB / 386.1 MB, free: 7.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.2357, allocations: 33.98 kB / 386.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2357, allocations: 1.406 kB / 386.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/0.2362, allocations: 113.2 kB / 386.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.2364, allocations: 38.42 kB / 386.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.238, allocations: 1.884 MB / 388.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.2383, allocations: 43 kB / 388.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.2384, allocations: 15.14 kB / 388.2 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003044/0.2387, allocations: 180.3 kB / 388.4 MB, free: 6.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002705/0.2389, allocations: 149 kB / 388.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005197/0.2395, allocations: 234.2 kB / 388.8 MB, free: 5.766 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.2395, allocations: 0 / 388.8 MB, free: 5.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0007339/0.2402, allocations: 330.8 kB / 389.1 MB, free: 5.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.2403, allocations: 40.61 kB / 389.1 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.2403, allocations: 2.188 kB / 389.2 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/0.2404, allocations: 43.66 kB / 389.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.2406, allocations: 38.08 kB / 389.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009056/0.2415, allocations: 1.729 MB / 391 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.2418, allocations: 43.28 kB / 391 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.2418, allocations: 6.062 kB / 391 MB, free: 3.906 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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 7.456e-05/0.2419, allocations: 199.6 kB / 391.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.2419, allocations: 19.12 kB / 391.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.242, allocations: 27.39 kB / 391.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.242, allocations: 1.312 kB / 391.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.242, allocations: 5.219 kB / 391.3 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.2421, allocations: 101.2 kB / 391.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.2421, allocations: 2.656 kB / 391.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.2423, allocations: 35.12 kB / 391.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/0.2424, allocations: 23.91 kB / 391.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001059/0.2435, allocations: 388 kB / 391.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008952/0.2444, allocations: 494.2 kB / 392.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002822/0.2447, allocations: 89.48 kB / 392.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.2448, allocations: 185.3 kB / 392.5 MB, free: 2.977 MB / 318.1 MB Notification: Performance of Backend: time 2.6e-07/0.2448, allocations: 0 / 392.5 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.2461, allocations: 0.6872 MB / 393.2 MB, free: 2.477 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007487/0.2468, allocations: 0.9229 MB / 394.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of Templates: time 0.008261/0.2551, allocations: 4.772 MB / 398.9 MB, free: 1.039 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches