Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 206 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 51.91 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2551, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004473/0.2596, allocations: 2.969 MB / 434.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.2612, allocations: 0.9507 MB / 435 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.2613, allocations: 15.88 kB / 435 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.2615, allocations: 55.42 kB / 435.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.2619, allocations: 130.9 kB / 435.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.2622, allocations: 155.6 kB / 435.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.2627, allocations: 494 kB / 435.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.2629, allocations: 97.27 kB / 435.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.2632, allocations: 207.3 kB / 436.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.2635, allocations: 199.1 kB / 436.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.894e-05/0.2636, allocations: 40 kB / 436.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.2637, allocations: 75.97 kB / 436.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.51e-05/0.2638, allocations: 95.61 kB / 436.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.264, allocations: 179.2 kB / 436.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005454/0.2645, allocations: 0.5018 MB / 437.2 MB, free: 500 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2645, allocations: 0 / 437.2 MB, free: 500 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2645, allocations: 0 / 437.2 MB, free: 500 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2645, allocations: 4 kB / 437.2 MB, free: 496 kB / 334.1 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.001438/0.266, allocations: 0.6646 MB / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.266, allocations: 8.031 kB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.901e-05/0.2661, allocations: 70.72 kB / 438 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.2663, allocations: 52.66 kB / 438 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.2667, allocations: 257.2 kB / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.2668, allocations: 28.97 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.2668, allocations: 36.38 kB / 438.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007111/0.2676, allocations: 452 kB / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2676, allocations: 4 kB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.2676, allocations: 12 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.2676, allocations: 8 kB / 438.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004899/0.2681, allocations: 226.5 kB / 439 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.2701, allocations: 1.05 MB / 440.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.2708, allocations: 247.5 kB / 440.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004894/0.2713, allocations: 187.9 kB / 440.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003092/0.2716, allocations: 80.09 kB / 440.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2716, allocations: 38.8 kB / 440.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.363e-06/0.2716, allocations: 0 / 440.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001319/0.2729, allocations: 456.5 kB / 441.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.273, allocations: 81.11 kB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003786/0.2734, allocations: 341.6 kB / 441.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.2734, allocations: 33.7 kB / 441.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.2736, allocations: 220.5 kB / 441.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.214e-05/0.2737, allocations: 103.1 kB / 441.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.2738, allocations: 66.06 kB / 441.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.274, allocations: 350.8 kB / 442.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.2742, allocations: 104.6 kB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.2745, allocations: 211.4 kB / 442.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.275, allocations: 280.6 kB / 442.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2751, allocations: 0 / 442.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008434/0.2759, allocations: 417.6 kB / 443.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2759, allocations: 8 kB / 443.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2759, allocations: 0 / 443.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/0.2762, allocations: 64.81 kB / 443.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.2765, allocations: 71.91 kB / 443.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.2785, allocations: 1.84 MB / 445.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.2787, allocations: 39.67 kB / 445.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.2788, allocations: 12 kB / 445.2 MB, free: 8.016 MB / 350.1 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.0002242/0.279, allocations: 160.2 kB / 445.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.2791, allocations: 43.75 kB / 445.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006974/0.2798, allocations: 310.4 kB / 445.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2798, allocations: 4 kB / 445.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2798, allocations: 7.875 kB / 445.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2798, allocations: 0 / 445.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.2802, allocations: 328.5 kB / 446.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2802, allocations: 192 / 446.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.2805, allocations: 59.91 kB / 446.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001932/0.2807, allocations: 60.75 kB / 446.2 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.2808, allocations: 12 kB / 446.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004528/0.2812, allocations: 0.6031 MB / 446.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2812, allocations: 4.062 kB / 446.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008953/0.2821, allocations: 0.4977 MB / 447.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-05/0.2822, allocations: 39.69 kB / 447.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/0.2822, allocations: 8 kB / 447.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.2825, allocations: 19.98 kB / 447.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.2826, allocations: 19.97 kB / 447.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.2826, allocations: 8 kB / 447.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002405/0.2828, allocations: 243.1 kB / 447.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2828, allocations: 4 kB / 447.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004203/0.2832, allocations: 107.8 kB / 447.8 MB, free: 5.402 MB / 350.1 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.001282/0.2845, allocations: 1.066 MB / 448.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007984/0.2853, allocations: 390.4 kB / 449.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2853, allocations: 0 / 449.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.2857, allocations: 119.9 kB / 449.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.286, allocations: 45.86 kB / 449.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/0.291, allocations: 3.715 MB / 453.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.2912, allocations: 186.5 kB / 453.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.2914, allocations: 38.95 kB / 453.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.2915, allocations: 127.4 kB / 453.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2916, allocations: 4 kB / 453.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05244/0.344, allocations: 8.514 MB / 461.9 MB, free: 7.219 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.78, allocations: 4.062 kB / 461.9 MB, free: 7.215 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.134967895020964]