Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 183.1 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 47.92 kB / 370.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2493, allocations: 52.18 MB / 422.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004143/0.2534, allocations: 2.887 MB / 425.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.2547, allocations: 0.7361 MB / 426.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.2548, allocations: 4 kB / 426.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.255, allocations: 47.5 kB / 426.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.2552, allocations: 103.2 kB / 426.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.2555, allocations: 115.8 kB / 426.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004654/0.256, allocations: 390.5 kB / 426.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.2562, allocations: 91.67 kB / 427 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.2564, allocations: 151.4 kB / 427.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.2567, allocations: 167.3 kB / 427.3 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.79e-05/0.2567, allocations: 40 kB / 427.4 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.604e-05/0.2568, allocations: 36 kB / 427.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.727e-05/0.2569, allocations: 79.7 kB / 427.5 MB, free: 9.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.257, allocations: 167.2 kB / 427.6 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005321/0.2576, allocations: 434.7 kB / 428.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2576, allocations: 0 / 428.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2576, allocations: 0 / 428.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.2576, allocations: 0 / 428.1 MB, free: 9.125 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001352/0.2589, allocations: 0.5849 MB / 428.7 MB, free: 8.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.259, allocations: 8.031 kB / 428.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.739e-05/0.259, allocations: 62.72 kB / 428.7 MB, free: 8.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.938e-05/0.2591, allocations: 40.69 kB / 428.8 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.2595, allocations: 231 kB / 429 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.2596, allocations: 16.88 kB / 429 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.354e-05/0.2596, allocations: 32.31 kB / 429 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/0.2603, allocations: 310.8 kB / 429.3 MB, free: 7.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2603, allocations: 0 / 429.3 MB, free: 7.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.2604, allocations: 12 kB / 429.4 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.2604, allocations: 8 kB / 429.4 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007821/0.2611, allocations: 273.8 kB / 429.6 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.2632, allocations: 1.123 MB / 430.7 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008939/0.2641, allocations: 242.5 kB / 431 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.2645, allocations: 92.8 kB / 431.1 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.2645, allocations: 11.94 kB / 431.1 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004584/0.2649, allocations: 168.9 kB / 431.3 MB, free: 5.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.2649, allocations: 0 / 431.3 MB, free: 5.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.002006/0.267, allocations: 0.5213 MB / 431.8 MB, free: 5.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.267, allocations: 89.11 kB / 431.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.2673, allocations: 257.9 kB / 432.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.2674, allocations: 33.7 kB / 432.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.2675, allocations: 196 kB / 432.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.2676, allocations: 47.61 kB / 432.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-05/0.2677, allocations: 53.66 kB / 432.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2678, allocations: 330.8 kB / 432.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.2682, allocations: 108.1 kB / 432.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.2686, allocations: 188.7 kB / 433 MB, free: 3.844 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006985/0.2693, allocations: 311.3 kB / 433.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2693, allocations: 0 / 433.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001183/0.2705, allocations: 439.9 kB / 433.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.2705, allocations: 37.64 kB / 433.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2705, allocations: 4 kB / 433.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003153/0.2708, allocations: 68.88 kB / 433.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.2711, allocations: 51.89 kB / 433.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.2733, allocations: 1.529 MB / 435.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.2736, allocations: 51.89 kB / 435.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.2736, allocations: 11.94 kB / 435.5 MB, free: 1.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.2738, allocations: 149.7 kB / 435.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.2738, allocations: 23.86 kB / 435.7 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.2739, allocations: 21.7 kB / 435.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2739, allocations: 4 kB / 435.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.2739, allocations: 4 kB / 435.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2739, allocations: 0 / 435.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.2742, allocations: 292.4 kB / 436 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2742, allocations: 0 / 436 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.2744, allocations: 31.97 kB / 436 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002185/0.2746, allocations: 64.81 kB / 436.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.2746, allocations: 11.94 kB / 436.1 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.2766, allocations: 1.522 MB / 437.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2766, allocations: 4.031 kB / 437.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.278, allocations: 455.7 kB / 438.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.278, allocations: 19.89 kB / 438.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.2781, allocations: 11.98 kB / 438.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.2783, allocations: 28.03 kB / 438.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.2784, allocations: 19.97 kB / 438.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.2784, allocations: 4 kB / 438.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.2786, allocations: 185.2 kB / 438.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2786, allocations: 7.938 kB / 438.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.2789, allocations: 63.89 kB / 438.4 MB, free: 14.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00168/0.2806, allocations: 0.9894 MB / 439.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009423/0.2815, allocations: 398.4 kB / 439.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2815, allocations: 8 kB / 439.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.282, allocations: 214.6 kB / 440 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.2823, allocations: 41.36 kB / 440.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007446/0.2897, allocations: 3.4 MB / 443.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.2901, allocations: 0.7557 MB / 444.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.2902, allocations: 26.28 kB / 444.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.2903, allocations: 79.41 kB / 444.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2903, allocations: 0 / 444.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05331/0.3437, allocations: 6.477 MB / 450.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/12.97, allocations: 12.05 kB / 450.8 MB, free: 1.617 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.314935392001644]