Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,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.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,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.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00168/0.00168, allocations: 176.9 kB / 16.72 MB, free: 4.961 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.554/1.554, allocations: 205.4 MB / 222.9 MB, free: 8.918 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.0008098/0.00081, allocations: 94.41 kB / 271.2 MB, free: 8.219 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.000315, allocations: 12 kB / 327.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2478, allocations: 47.57 MB / 375.1 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.002457/0.2503, allocations: 2.302 MB / 377.4 MB, free: 43.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.2514, allocations: 0.681 MB / 378.1 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.2516, allocations: 4.438 kB / 378.1 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.2517, allocations: 34.98 kB / 378.1 MB, free: 42.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.2519, allocations: 72.44 kB / 378.2 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.2521, allocations: 70.08 kB / 378.3 MB, free: 42.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.2524, allocations: 318.2 kB / 378.6 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.2526, allocations: 80.47 kB / 378.6 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.2528, allocations: 110.5 kB / 378.8 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.2529, allocations: 128.5 kB / 378.9 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.253, allocations: 15.03 kB / 378.9 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.901e-05/0.2531, allocations: 14.72 kB / 378.9 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.2531, allocations: 50.12 kB / 379 MB, free: 42.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.2533, allocations: 146.2 kB / 379.1 MB, free: 42.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.2535, allocations: 236.3 kB / 379.3 MB, free: 42.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2535, allocations: 1.125 kB / 379.3 MB, free: 42.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2535, allocations: 4 kB / 379.3 MB, free: 42.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2535, allocations: 0 / 379.3 MB, free: 42.15 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.001059/0.2546, allocations: 0.6063 MB / 379.9 MB, free: 41.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.2546, allocations: 9.5 kB / 380 MB, free: 41.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.669e-05/0.2547, allocations: 32.06 kB / 380 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.255, allocations: 275.2 kB / 380.3 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.255, allocations: 17.41 kB / 380.3 MB, free: 41.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.2551, allocations: 21.78 kB / 380.3 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/0.2557, allocations: 262.6 kB / 380.5 MB, free: 41.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2557, allocations: 7.938 kB / 380.6 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.2557, allocations: 6.094 kB / 380.6 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.2558, allocations: 5.406 kB / 380.6 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007513/0.2565, allocations: 283.8 kB / 380.8 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.2579, allocations: 0.8875 MB / 381.7 MB, free: 40.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007151/0.2586, allocations: 277 kB / 382 MB, free: 40.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.2589, allocations: 115.9 kB / 382.1 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.259, allocations: 4.984 kB / 382.1 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004367/0.2594, allocations: 189.9 kB / 382.3 MB, free: 39.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 3.076e-06/0.2594, allocations: 0 / 382.3 MB, free: 39.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.002026/0.2614, allocations: 0.719 MB / 383 MB, free: 39.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.2615, allocations: 109.9 kB / 383.1 MB, free: 39.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.2618, allocations: 262.1 kB / 383.4 MB, free: 39.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.2618, allocations: 28.11 kB / 383.4 MB, free: 39.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.2619, allocations: 177.9 kB / 383.6 MB, free: 39.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.262, allocations: 42.45 kB / 383.6 MB, free: 39.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.262, allocations: 5.188 kB / 383.6 MB, free: 39.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.262, allocations: 340 kB / 384 MB, free: 38.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.2624, allocations: 103 kB / 384.1 MB, free: 38.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.2627, allocations: 187.9 kB / 384.3 MB, free: 38.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.2633, allocations: 297.3 kB / 384.5 MB, free: 38.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2633, allocations: 1.344 kB / 384.5 MB, free: 38.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001162/0.2645, allocations: 487.1 kB / 385 MB, free: 38.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.98e-05/0.2646, allocations: 178.3 kB / 385.2 MB, free: 37.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.2646, allocations: 6.625 kB / 385.2 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00033/0.265, allocations: 69.78 kB / 385.3 MB, free: 37.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.2652, allocations: 53.53 kB / 385.3 MB, free: 37.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.267, allocations: 1.814 MB / 387.1 MB, free: 36.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.2674, allocations: 63.72 kB / 387.2 MB, free: 36.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.2674, allocations: 8 kB / 387.2 MB, free: 36.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.2674, allocations: 4 kB / 387.2 MB, free: 36.04 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006579/0.2681, allocations: 342.2 kB / 387.5 MB, free: 35.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2681, allocations: 0 / 387.5 MB, free: 35.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.517e-05/0.2682, allocations: 36.84 kB / 387.6 MB, free: 35.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2684, allocations: 51.89 kB / 387.6 MB, free: 35.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008754/0.2692, allocations: 1.542 MB / 389.2 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.2695, allocations: 47.88 kB / 389.2 MB, free: 33.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.2695, allocations: 8 kB / 389.2 MB, free: 33.87 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0001537/0.2697, allocations: 216.8 kB / 389.4 MB, free: 33.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.2697, allocations: 27.7 kB / 389.5 MB, free: 33.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.2698, allocations: 25.78 kB / 389.5 MB, free: 33.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2698, allocations: 8 kB / 389.5 MB, free: 33.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2698, allocations: 0 / 389.5 MB, free: 33.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2698, allocations: 3.984 kB / 389.5 MB, free: 33.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.27, allocations: 293.4 kB / 389.8 MB, free: 33.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2701, allocations: 0 / 389.8 MB, free: 33.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.2702, allocations: 27.97 kB / 389.8 MB, free: 33.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000184/0.2704, allocations: 72.81 kB / 389.9 MB, free: 33.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.2704, allocations: 7.938 kB / 389.9 MB, free: 33.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/0.2718, allocations: 1.74 MB / 391.6 MB, free: 31.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2718, allocations: 32 / 391.6 MB, free: 31.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007343/0.2726, allocations: 377.4 kB / 392 MB, free: 30.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.2727, allocations: 92.86 kB / 392.1 MB, free: 30.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.2727, allocations: 8 kB / 392.1 MB, free: 30.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.2729, allocations: 39.95 kB / 392.1 MB, free: 30.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.273, allocations: 19.97 kB / 392.2 MB, free: 30.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.273, allocations: 8 kB / 392.2 MB, free: 30.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001458/0.2732, allocations: 190 kB / 392.4 MB, free: 30.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2732, allocations: 0 / 392.4 MB, free: 30.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005307/0.2737, allocations: 127.7 kB / 392.5 MB, free: 30.38 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.0001225/0.2738, allocations: 103.2 kB / 392.6 MB, free: 30.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.2752, allocations: 0.7906 MB / 393.4 MB, free: 29.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2752, allocations: 0 / 393.4 MB, free: 29.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.2756, allocations: 258.8 kB / 393.6 MB, free: 29.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.2759, allocations: 50.84 kB / 393.7 MB, free: 29.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.2776, allocations: 0.9139 MB / 394.6 MB, free: 28.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.2779, allocations: 0.7483 MB / 395.3 MB, free: 27.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.63e-05/0.278, allocations: 19.44 kB / 395.4 MB, free: 27.38 MB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.278, allocations: 0 / 395.4 MB, free: 27.38 MB / 298.7 MB Notification: Performance of Templates: time 0.005283/0.2833, allocations: 4.174 MB / 399.5 MB, free: 23.21 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches