Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001656/0.001656, allocations: 178.3 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007336/0.0007338, allocations: 90.3 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003062, allocations: 8 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2484, allocations: 47.58 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.002873/0.2514, allocations: 2.295 MB / 376.9 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2526, allocations: 0.6893 MB / 377.5 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.2528, allocations: 3.594 kB / 377.6 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.253, allocations: 35.45 kB / 377.6 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.2531, allocations: 76.38 kB / 377.7 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.2534, allocations: 70.45 kB / 377.7 MB, free: 42.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.2537, allocations: 313 kB / 378 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.2539, allocations: 65.83 kB / 378.1 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.2541, allocations: 107.4 kB / 378.2 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.2543, allocations: 131.7 kB / 378.3 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.342e-05/0.2544, allocations: 19 kB / 378.4 MB, free: 42.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.15e-05/0.2544, allocations: 15.03 kB / 378.4 MB, free: 42.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.25e-05/0.2545, allocations: 50.02 kB / 378.4 MB, free: 42.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.329e-05/0.2546, allocations: 69.23 kB / 378.5 MB, free: 42.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.2548, allocations: 244.5 kB / 378.7 MB, free: 42.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2548, allocations: 1.531 kB / 378.7 MB, free: 42.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2548, allocations: 0 / 378.7 MB, free: 42.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.2549, allocations: 0 / 378.7 MB, free: 42.25 MB / 298.7 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.001249/0.2561, allocations: 0.6048 MB / 379.3 MB, free: 41.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.2562, allocations: 12.91 kB / 379.3 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.619e-05/0.2563, allocations: 34.66 kB / 379.4 MB, free: 41.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.2566, allocations: 270.5 kB / 379.6 MB, free: 41.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.2566, allocations: 12.81 kB / 379.7 MB, free: 41.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.2567, allocations: 21.88 kB / 379.7 MB, free: 41.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.2574, allocations: 257.7 kB / 379.9 MB, free: 41.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2574, allocations: 0 / 379.9 MB, free: 41.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.2574, allocations: 14.19 kB / 379.9 MB, free: 41.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.2574, allocations: 9.156 kB / 379.9 MB, free: 41.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008136/0.2583, allocations: 283.8 kB / 380.2 MB, free: 41.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.2598, allocations: 0.8948 MB / 381.1 MB, free: 40.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000783/0.2606, allocations: 265.5 kB / 381.4 MB, free: 40.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/0.2609, allocations: 112.2 kB / 381.5 MB, free: 40.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.261, allocations: 9.078 kB / 381.5 MB, free: 40.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000558/0.2616, allocations: 191.9 kB / 381.7 MB, free: 40.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.963e-06/0.2616, allocations: 0 / 381.7 MB, free: 40.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.002349/0.2639, allocations: 0.7013 MB / 382.4 MB, free: 39.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.264, allocations: 114.5 kB / 382.5 MB, free: 39.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.2644, allocations: 250.8 kB / 382.7 MB, free: 39.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.2644, allocations: 30.89 kB / 382.8 MB, free: 39.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.2645, allocations: 174.5 kB / 382.9 MB, free: 39.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.2645, allocations: 49 kB / 383 MB, free: 39.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.2646, allocations: 5.969 kB / 383 MB, free: 39.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.2647, allocations: 331.8 kB / 383.3 MB, free: 38.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.265, allocations: 109.9 kB / 383.4 MB, free: 38.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.2654, allocations: 168.6 kB / 383.6 MB, free: 38.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.2657, allocations: 140 kB / 383.7 MB, free: 38.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2657, allocations: 0 / 383.7 MB, free: 38.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001123/0.2668, allocations: 471.2 kB / 384.2 MB, free: 38.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.589e-05/0.267, allocations: 168.5 kB / 384.4 MB, free: 38.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.267, allocations: 2 kB / 384.4 MB, free: 38.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.2673, allocations: 72.38 kB / 384.4 MB, free: 38.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.2675, allocations: 43.16 kB / 384.5 MB, free: 38.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.2694, allocations: 1.749 MB / 386.2 MB, free: 36.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.2698, allocations: 50.22 kB / 386.3 MB, free: 36.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.2698, allocations: 10.28 kB / 386.3 MB, free: 36.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2699, allocations: 8.594 kB / 386.3 MB, free: 36.48 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007748/0.2706, allocations: 322.3 kB / 386.6 MB, free: 36.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.2707, allocations: 3.938 kB / 386.6 MB, free: 36.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.155e-05/0.2708, allocations: 40.83 kB / 386.6 MB, free: 36.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.2709, allocations: 47.95 kB / 386.7 MB, free: 36.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008638/0.2718, allocations: 1.538 MB / 388.2 MB, free: 34.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.2721, allocations: 51.83 kB / 388.3 MB, free: 34.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.2721, allocations: 8 kB / 388.3 MB, free: 34.46 MB / 298.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.2723, allocations: 217 kB / 388.5 MB, free: 34.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.2723, allocations: 23.67 kB / 388.5 MB, free: 34.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.2724, allocations: 29.83 kB / 388.6 MB, free: 34.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2724, allocations: 0 / 388.6 MB, free: 34.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2724, allocations: 0 / 388.6 MB, free: 34.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2724, allocations: 0 / 388.6 MB, free: 34.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.2726, allocations: 293.5 kB / 388.8 MB, free: 33.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2727, allocations: 0 / 388.8 MB, free: 33.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.2728, allocations: 43.86 kB / 388.9 MB, free: 33.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002042/0.273, allocations: 68.8 kB / 388.9 MB, free: 33.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.273, allocations: 8 kB / 389 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.2743, allocations: 1.644 MB / 390.6 MB, free: 31.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2744, allocations: 0 / 390.6 MB, free: 31.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007792/0.2751, allocations: 361.6 kB / 391 MB, free: 31.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.2752, allocations: 96.81 kB / 391 MB, free: 31.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.2752, allocations: 8 kB / 391.1 MB, free: 31.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.2755, allocations: 39.95 kB / 391.1 MB, free: 31.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/0.2756, allocations: 23.97 kB / 391.1 MB, free: 31.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.2756, allocations: 7.953 kB / 391.1 MB, free: 31.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.2757, allocations: 180.5 kB / 391.3 MB, free: 31.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2757, allocations: 0 / 391.3 MB, free: 31.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004799/0.2762, allocations: 127.7 kB / 391.4 MB, free: 31.09 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001543/0.2764, allocations: 111.2 kB / 391.5 MB, free: 30.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.2776, allocations: 0.725 MB / 392.3 MB, free: 30.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2777, allocations: 0 / 392.3 MB, free: 30.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.278, allocations: 252.6 kB / 392.5 MB, free: 29.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.2784, allocations: 58.83 kB / 392.6 MB, free: 29.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.2793, allocations: 0.5347 MB / 393.1 MB, free: 29.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.2794, allocations: 0.7483 MB / 393.8 MB, free: 28.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.774e-05/0.2795, allocations: 19.44 kB / 393.9 MB, free: 28.52 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2795, allocations: 0 / 393.9 MB, free: 28.52 MB / 298.7 MB Notification: Performance of Templates: time 0.005382/0.2849, allocations: 4.152 MB / 398 MB, free: 24.38 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches