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.001697/0.001697, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.602/1.602, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0008615/0.0008618, allocations: 98.23 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003939, allocations: 16 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.252, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.002553/0.2546, allocations: 2.307 MB / 377.4 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.2558, allocations: 0.6812 MB / 378.1 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.2559, allocations: 8.031 kB / 378.1 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.2561, allocations: 31.89 kB / 378.1 MB, free: 43.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.2562, allocations: 63.81 kB / 378.2 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.2565, allocations: 75.69 kB / 378.3 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.2568, allocations: 317.8 kB / 378.6 MB, free: 42.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.257, allocations: 75.42 kB / 378.6 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.2572, allocations: 111.3 kB / 378.8 MB, free: 42.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.2573, allocations: 136.5 kB / 378.9 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.2574, allocations: 14.12 kB / 378.9 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.394e-05/0.2574, allocations: 15.84 kB / 378.9 MB, free: 42.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.2575, allocations: 45.98 kB / 379 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.2576, allocations: 145.5 kB / 379.1 MB, free: 42.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.2578, allocations: 237.5 kB / 379.3 MB, free: 42.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2578, allocations: 4 kB / 379.3 MB, free: 42.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2579, allocations: 0 / 379.3 MB, free: 42.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.2579, allocations: 1.531 kB / 379.3 MB, free: 42.19 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.00105/0.2589, allocations: 0.6012 MB / 379.9 MB, free: 41.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.259, allocations: 13.88 kB / 380 MB, free: 41.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.2591, allocations: 31.16 kB / 380 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.2593, allocations: 279.9 kB / 380.3 MB, free: 41.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.2594, allocations: 17.06 kB / 380.3 MB, free: 41.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.2594, allocations: 17.72 kB / 380.3 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000595/0.26, allocations: 266.3 kB / 380.5 MB, free: 41.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.26, allocations: 0 / 380.5 MB, free: 41.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.2601, allocations: 10.5 kB / 380.6 MB, free: 41.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.2601, allocations: 6.375 kB / 380.6 MB, free: 41.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007714/0.2609, allocations: 286.5 kB / 380.8 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.2623, allocations: 0.8945 MB / 381.7 MB, free: 40.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007419/0.2631, allocations: 271.7 kB / 382 MB, free: 40.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.2634, allocations: 111.8 kB / 382.1 MB, free: 40.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.2634, allocations: 1.969 kB / 382.1 MB, free: 40.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004371/0.2639, allocations: 196.7 kB / 382.3 MB, free: 39.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.2639, allocations: 0 / 382.3 MB, free: 39.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.001908/0.2658, allocations: 0.7062 MB / 383 MB, free: 39.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.2658, allocations: 113.2 kB / 383.1 MB, free: 39.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.2661, allocations: 254.1 kB / 383.4 MB, free: 39.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.2661, allocations: 32.58 kB / 383.4 MB, free: 39.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.2662, allocations: 174.3 kB / 383.6 MB, free: 39.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.2663, allocations: 43.95 kB / 383.6 MB, free: 39.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.2663, allocations: 5.188 kB / 383.6 MB, free: 39.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.599e-05/0.2664, allocations: 336.3 kB / 384 MB, free: 38.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.2667, allocations: 102.6 kB / 384.1 MB, free: 38.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.267, allocations: 176.4 kB / 384.2 MB, free: 38.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/0.2676, allocations: 276.9 kB / 384.5 MB, free: 38.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2676, allocations: 0 / 384.5 MB, free: 38.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001021/0.2686, allocations: 471.6 kB / 385 MB, free: 38.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.384e-05/0.2687, allocations: 165.6 kB / 385.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.2687, allocations: 5.469 kB / 385.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003184/0.269, allocations: 76.31 kB / 385.2 MB, free: 37.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.2692, allocations: 42.78 kB / 385.2 MB, free: 37.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.271, allocations: 1.745 MB / 387 MB, free: 36.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.2713, allocations: 55.81 kB / 387 MB, free: 36.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.2713, allocations: 15.98 kB / 387.1 MB, free: 36.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.592e-06/0.2713, allocations: 4 kB / 387.1 MB, free: 36.22 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006324/0.272, allocations: 324.1 kB / 387.4 MB, free: 35.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.272, allocations: 3.938 kB / 387.4 MB, free: 35.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.67e-05/0.2721, allocations: 40.78 kB / 387.4 MB, free: 35.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.2723, allocations: 39.97 kB / 387.5 MB, free: 35.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008795/0.2732, allocations: 1.542 MB / 389 MB, free: 34.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.2734, allocations: 55.81 kB / 389.1 MB, free: 34.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.2735, allocations: 8 kB / 389.1 MB, free: 34.07 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.0001716/0.2736, allocations: 212.8 kB / 389.3 MB, free: 33.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.2737, allocations: 19.81 kB / 389.3 MB, free: 33.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.2737, allocations: 33.77 kB / 389.3 MB, free: 33.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2737, allocations: 4 kB / 389.3 MB, free: 33.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2737, allocations: 0 / 389.3 MB, free: 33.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2737, allocations: 0 / 389.3 MB, free: 33.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.274, allocations: 293.4 kB / 389.6 MB, free: 33.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.274, allocations: 0 / 389.6 MB, free: 33.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.2741, allocations: 27.97 kB / 389.6 MB, free: 33.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002103/0.2743, allocations: 80.73 kB / 389.7 MB, free: 33.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.2743, allocations: 7.938 kB / 389.7 MB, free: 33.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.2756, allocations: 1.636 MB / 391.4 MB, free: 31.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2757, allocations: 0 / 391.4 MB, free: 31.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/0.2764, allocations: 377.4 kB / 391.7 MB, free: 31.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.2764, allocations: 100.8 kB / 391.8 MB, free: 31.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.2765, allocations: 8 kB / 391.8 MB, free: 31.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.2767, allocations: 47.89 kB / 391.9 MB, free: 31.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.2768, allocations: 19.97 kB / 391.9 MB, free: 31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.2768, allocations: 4 kB / 391.9 MB, free: 30.99 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00014/0.2769, allocations: 180.5 kB / 392.1 MB, free: 30.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2769, allocations: 0 / 392.1 MB, free: 30.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000496/0.2774, allocations: 119.8 kB / 392.2 MB, free: 30.7 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.0001371/0.2776, allocations: 115.2 kB / 392.3 MB, free: 30.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.2788, allocations: 0.726 MB / 393 MB, free: 29.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2789, allocations: 0 / 393 MB, free: 29.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003886/0.2793, allocations: 250.8 kB / 393.3 MB, free: 29.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.2796, allocations: 46.91 kB / 393.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000792/0.2804, allocations: 0.5424 MB / 393.9 MB, free: 28.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.2806, allocations: 0.7521 MB / 394.6 MB, free: 28.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.2807, allocations: 23.42 kB / 394.6 MB, free: 28.12 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2807, allocations: 0 / 394.6 MB, free: 28.12 MB / 298.7 MB Notification: Performance of Templates: time 0.004866/0.2855, allocations: 4.135 MB / 398.8 MB, free: 23.99 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