Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001019/0.00102, allocations: 187 kB / 17.92 MB, free: 3.852 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.194/1.194, allocations: 205.1 MB / 223.7 MB, free: 8.508 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.0009641/0.000964, allocations: 105.7 kB / 271.2 MB, free: 8.461 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008601/0.0008602, allocations: 39.94 kB / 327.2 MB, free: 356 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2196, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004439/0.2241, allocations: 3.228 MB / 377.1 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.226, allocations: 0.994 MB / 378 MB, free: 42.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000407/0.2264, allocations: 4.406 kB / 378 MB, free: 42.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.2267, allocations: 48.16 kB / 378.1 MB, free: 42.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004947/0.2272, allocations: 110.5 kB / 378.2 MB, free: 42.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.2276, allocations: 116.5 kB / 378.3 MB, free: 42.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000545/0.2281, allocations: 472.8 kB / 378.8 MB, free: 41.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.2284, allocations: 121.1 kB / 378.9 MB, free: 41.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.2286, allocations: 169.1 kB / 379.1 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.2288, allocations: 200.4 kB / 379.3 MB, free: 41.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.866e-05/0.2289, allocations: 25.84 kB / 379.3 MB, free: 41.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.229, allocations: 57.53 kB / 379.3 MB, free: 41.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.2291, allocations: 88.28 kB / 379.4 MB, free: 41.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.2292, allocations: 197 kB / 379.6 MB, free: 41.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.2297, allocations: 488.5 kB / 380.1 MB, free: 41.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2297, allocations: 0.9688 kB / 380.1 MB, free: 41.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2297, allocations: 3.938 kB / 380.1 MB, free: 41.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.2297, allocations: 0 / 380.1 MB, free: 41.07 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.001161/0.2309, allocations: 0.7301 MB / 380.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2309, allocations: 10.12 kB / 380.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/0.231, allocations: 46.78 kB / 380.9 MB, free: 40.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.2313, allocations: 310.5 kB / 381.2 MB, free: 40.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.2313, allocations: 30.59 kB / 381.2 MB, free: 40.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/0.2314, allocations: 34.94 kB / 381.3 MB, free: 40.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.232, allocations: 349.3 kB / 381.6 MB, free: 39.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.232, allocations: 0 / 381.6 MB, free: 39.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.232, allocations: 14.47 kB / 381.6 MB, free: 39.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.232, allocations: 7.719 kB / 381.6 MB, free: 39.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004609/0.2325, allocations: 236.5 kB / 381.8 MB, free: 39.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.2341, allocations: 1.181 MB / 383 MB, free: 38.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006078/0.2347, allocations: 288.8 kB / 383.3 MB, free: 38.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004419/0.2352, allocations: 208.3 kB / 383.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004922/0.2357, allocations: 1.114 MB / 384.6 MB, free: 37.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.2357, allocations: 40.98 kB / 384.7 MB, free: 37.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.743e-06/0.2357, allocations: 0 / 384.7 MB, free: 37.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001213/0.2369, allocations: 0.5296 MB / 385.2 MB, free: 36.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.237, allocations: 80.3 kB / 385.3 MB, free: 36.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.2373, allocations: 337.1 kB / 385.6 MB, free: 36.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.2373, allocations: 32.17 kB / 385.6 MB, free: 36.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.727e-05/0.2374, allocations: 214.8 kB / 385.8 MB, free: 36.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.2375, allocations: 94.8 kB / 385.9 MB, free: 36.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.87e-05/0.2376, allocations: 76.31 kB / 386 MB, free: 36.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.509e-05/0.2377, allocations: 350.9 kB / 386.4 MB, free: 35.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.2379, allocations: 104.4 kB / 386.5 MB, free: 35.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.2382, allocations: 185.9 kB / 386.6 MB, free: 35.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.2386, allocations: 299.1 kB / 386.9 MB, free: 35.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2386, allocations: 1.156 kB / 386.9 MB, free: 35.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007385/0.2394, allocations: 433.2 kB / 387.4 MB, free: 35.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2394, allocations: 5.625 kB / 387.4 MB, free: 35.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2394, allocations: 6.594 kB / 387.4 MB, free: 35.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002528/0.2397, allocations: 64.44 kB / 387.4 MB, free: 35.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.24, allocations: 82.77 kB / 387.5 MB, free: 35.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.2412, allocations: 1.757 MB / 389.3 MB, free: 33.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.2415, allocations: 43.58 kB / 389.3 MB, free: 33.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.2415, allocations: 16 kB / 389.3 MB, free: 33.29 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 (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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.2417, allocations: 149.7 kB / 389.5 MB, free: 33.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.637e-05/0.2417, allocations: 43.53 kB / 389.5 MB, free: 33.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006003/0.2423, allocations: 330.2 kB / 389.8 MB, free: 32.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.2424, allocations: 0 / 389.8 MB, free: 32.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.2424, allocations: 3.984 kB / 389.8 MB, free: 32.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2424, allocations: 4 kB / 389.8 MB, free: 32.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.2427, allocations: 389.2 kB / 390.2 MB, free: 32.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2427, allocations: 0 / 390.2 MB, free: 32.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.243, allocations: 63.89 kB / 390.3 MB, free: 32.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001594/0.2432, allocations: 60.81 kB / 390.3 MB, free: 32.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.2432, allocations: 4 kB / 390.4 MB, free: 32.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002546/0.2435, allocations: 0.6186 MB / 391 MB, free: 31.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2435, allocations: 0 / 391 MB, free: 31.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005721/0.2492, allocations: 5.339 MB / 396.3 MB, free: 25.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2493, allocations: 140.6 kB / 396.4 MB, free: 25.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.2494, allocations: 8 kB / 396.5 MB, free: 25.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.2496, allocations: 19.98 kB / 396.5 MB, free: 25.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.2497, allocations: 15.97 kB / 396.5 MB, free: 25.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.2497, allocations: 8 kB / 396.5 MB, free: 25.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001701/0.2499, allocations: 243.2 kB / 396.7 MB, free: 25.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2499, allocations: 3.938 kB / 396.7 MB, free: 25.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006171/0.2505, allocations: 179.8 kB / 396.9 MB, free: 25.24 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 (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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002221/0.2507, allocations: 171.2 kB / 397.1 MB, free: 25.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006736/0.2514, allocations: 426.7 kB / 397.5 MB, free: 24.64 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2514, allocations: 8.062 kB / 397.5 MB, free: 24.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.2517, allocations: 131.9 kB / 397.6 MB, free: 24.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.2521, allocations: 47.39 kB / 397.7 MB, free: 24.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.2535, allocations: 1.37 MB / 399.1 MB, free: 23.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.2537, allocations: 0.8033 MB / 399.9 MB, free: 22.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.2538, allocations: 50.94 kB / 399.9 MB, free: 22.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.2539, allocations: 27.44 kB / 399.9 MB, free: 22.13 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2539, allocations: 3.938 kB / 399.9 MB, free: 22.12 MB / 298.7 MB Notification: Performance of Templates: time 0.007501/0.2614, allocations: 5.197 MB / 405.1 MB, free: 16.96 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches