Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001248/0.001249, allocations: 177.9 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.533/1.533, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.000814/0.000814, allocations: 96.98 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.0005013, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2652, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.002846/0.2681, allocations: 2.712 MB / 377.3 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2696, allocations: 0.9362 MB / 378.2 MB, free: 42.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.2698, allocations: 4.75 kB / 378.2 MB, free: 42.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.2699, allocations: 52.47 kB / 378.3 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.2702, allocations: 107.9 kB / 378.4 MB, free: 42.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.2705, allocations: 99.7 kB / 378.5 MB, free: 42.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003924/0.2709, allocations: 442.6 kB / 378.9 MB, free: 42.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.2711, allocations: 107.4 kB / 379 MB, free: 41.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.2713, allocations: 162.3 kB / 379.2 MB, free: 41.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.2715, allocations: 183.7 kB / 379.3 MB, free: 41.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.45e-05/0.2716, allocations: 20.84 kB / 379.4 MB, free: 41.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.2717, allocations: 53.31 kB / 379.4 MB, free: 41.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.2718, allocations: 66.77 kB / 379.5 MB, free: 41.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.184e-05/0.2719, allocations: 100.6 kB / 379.6 MB, free: 41.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.2722, allocations: 366.6 kB / 379.9 MB, free: 41.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2722, allocations: 0 / 379.9 MB, free: 41.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2722, allocations: 0 / 379.9 MB, free: 41.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.2722, allocations: 0 / 379.9 MB, free: 41.35 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001152/0.2734, allocations: 0.68 MB / 380.6 MB, free: 40.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2734, allocations: 9.344 kB / 380.6 MB, free: 40.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.646e-05/0.2735, allocations: 45.75 kB / 380.7 MB, free: 40.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.2739, allocations: 288.8 kB / 381 MB, free: 40.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.2739, allocations: 30.42 kB / 381 MB, free: 40.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.716e-05/0.274, allocations: 38.84 kB / 381 MB, free: 40.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.2746, allocations: 351.4 kB / 381.4 MB, free: 40.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2747, allocations: 0 / 381.4 MB, free: 40.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.2747, allocations: 15.81 kB / 381.4 MB, free: 40.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.2747, allocations: 7.344 kB / 381.4 MB, free: 40.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005108/0.2753, allocations: 245.5 kB / 381.6 MB, free: 40.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.2771, allocations: 1.192 MB / 382.8 MB, free: 39.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007047/0.2778, allocations: 305.4 kB / 383.1 MB, free: 38.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/0.2783, allocations: 211.1 kB / 383.3 MB, free: 38.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006142/0.2789, allocations: 1.124 MB / 384.4 MB, free: 37.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.279, allocations: 36.02 kB / 384.5 MB, free: 37.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 2.435e-06/0.279, allocations: 0 / 384.5 MB, free: 37.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.00153/0.2805, allocations: 0.5466 MB / 385 MB, free: 37.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.2806, allocations: 79.98 kB / 385.1 MB, free: 37.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.281, allocations: 333.6 kB / 385.4 MB, free: 36.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.281, allocations: 31.8 kB / 385.5 MB, free: 36.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.2811, allocations: 223.9 kB / 385.7 MB, free: 36.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.2812, allocations: 98.86 kB / 385.8 MB, free: 36.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/0.2812, allocations: 9.969 kB / 385.8 MB, free: 36.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.956e-05/0.2813, allocations: 346.3 kB / 386.1 MB, free: 36.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.2815, allocations: 108.7 kB / 386.2 MB, free: 36.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.2818, allocations: 186.1 kB / 386.4 MB, free: 36.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.2821, allocations: 132.9 kB / 386.5 MB, free: 35.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2821, allocations: 4.938 kB / 386.5 MB, free: 35.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007943/0.2829, allocations: 441.4 kB / 387 MB, free: 35.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.283, allocations: 6.094 kB / 387 MB, free: 35.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.283, allocations: 2.5 kB / 387 MB, free: 35.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.2832, allocations: 64.22 kB / 387 MB, free: 35.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.2836, allocations: 73.59 kB / 387.1 MB, free: 35.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.2849, allocations: 1.772 MB / 388.9 MB, free: 33.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.2852, allocations: 43.58 kB / 388.9 MB, free: 33.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.2853, allocations: 16 kB / 389 MB, free: 33.73 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.2854, allocations: 145.7 kB / 389.1 MB, free: 33.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.2855, allocations: 39.69 kB / 389.1 MB, free: 33.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006645/0.2862, allocations: 342.2 kB / 389.5 MB, free: 33.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2862, allocations: 4 kB / 389.5 MB, free: 33.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2862, allocations: 7.953 kB / 389.5 MB, free: 33.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.2862, allocations: 0 / 389.5 MB, free: 33.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.2866, allocations: 393.2 kB / 389.9 MB, free: 32.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2866, allocations: 4 kB / 389.9 MB, free: 32.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.2869, allocations: 63.89 kB / 389.9 MB, free: 32.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001678/0.2871, allocations: 60.81 kB / 390 MB, free: 32.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.2871, allocations: 11.98 kB / 390 MB, free: 32.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000275/0.2874, allocations: 0.5992 MB / 390.6 MB, free: 31.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2874, allocations: 0 / 390.6 MB, free: 31.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007683/0.2882, allocations: 0.5367 MB / 391.1 MB, free: 31.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.945e-05/0.2883, allocations: 136.5 kB / 391.3 MB, free: 31.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/0.2883, allocations: 12 kB / 391.3 MB, free: 31.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.2886, allocations: 23.98 kB / 391.3 MB, free: 31.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.2886, allocations: 19.97 kB / 391.3 MB, free: 31.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.2887, allocations: 4 kB / 391.3 MB, free: 31.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001792/0.2889, allocations: 239.2 kB / 391.6 MB, free: 30.99 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2889, allocations: 0 / 391.6 MB, free: 30.99 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003934/0.2893, allocations: 115.8 kB / 391.7 MB, free: 30.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001864/0.2895, allocations: 131.2 kB / 391.8 MB, free: 30.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007405/0.2902, allocations: 426.6 kB / 392.2 MB, free: 30.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2902, allocations: 0 / 392.2 MB, free: 30.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.2905, allocations: 144.3 kB / 392.4 MB, free: 30.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.2909, allocations: 49.41 kB / 392.4 MB, free: 30.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.2921, allocations: 1.076 MB / 393.5 MB, free: 29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.2923, allocations: 0.7952 MB / 394.3 MB, free: 28.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.071e-05/0.2924, allocations: 35.42 kB / 394.3 MB, free: 28.14 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2924, allocations: 0 / 394.3 MB, free: 28.14 MB / 298.7 MB Notification: Performance of Templates: time 0.006083/0.2985, allocations: 5.368 MB / 399.7 MB, free: 22.79 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches