Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 214.4 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.89 kB / 377.8 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2964, allocations: 53.4 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004651/0.3011, allocations: 2.932 MB / 434.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.3025, allocations: 0.7285 MB / 434.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.3027, allocations: 4 kB / 434.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.3029, allocations: 47.5 kB / 434.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.3031, allocations: 103.2 kB / 435 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.3035, allocations: 99.83 kB / 435.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004974/0.304, allocations: 390.5 kB / 435.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.3042, allocations: 91.67 kB / 435.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.3045, allocations: 167.3 kB / 435.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.3047, allocations: 163.2 kB / 435.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.3048, allocations: 36 kB / 436 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.755e-05/0.3048, allocations: 40 kB / 436 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3049, allocations: 83.69 kB / 436.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.3051, allocations: 163.2 kB / 436.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.3056, allocations: 438.7 kB / 436.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3056, allocations: 4 kB / 436.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3056, allocations: 4 kB / 436.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.3056, allocations: 3.984 kB / 436.7 MB, free: 1.191 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001202/0.3068, allocations: 0.573 MB / 437.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3069, allocations: 12.03 kB / 437.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.999e-05/0.3069, allocations: 62.72 kB / 437.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.483e-05/0.307, allocations: 36.75 kB / 437.4 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.3075, allocations: 237.7 kB / 437.6 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.3075, allocations: 24.81 kB / 437.6 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/0.3075, allocations: 24.38 kB / 437.6 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006097/0.3081, allocations: 280.2 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3082, allocations: 0 / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.3082, allocations: 8 kB / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.3082, allocations: 8 kB / 437.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006531/0.3089, allocations: 249.8 kB / 438.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.3108, allocations: 1.082 MB / 439.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/0.3114, allocations: 218.5 kB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.3117, allocations: 84.8 kB / 439.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.3117, allocations: 8 kB / 439.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004124/0.3121, allocations: 165 kB / 439.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.3121, allocations: 0 / 439.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001356/0.3135, allocations: 393.9 kB / 440.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.3136, allocations: 102.8 kB / 440.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.3139, allocations: 269.8 kB / 440.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.3139, allocations: 29.7 kB / 440.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.314, allocations: 192.1 kB / 440.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.3141, allocations: 47.58 kB / 440.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3142, allocations: 57.89 kB / 440.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3144, allocations: 334.8 kB / 441.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.3146, allocations: 92.16 kB / 441.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/0.315, allocations: 184.2 kB / 441.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/0.3155, allocations: 273.7 kB / 441.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3155, allocations: 4 kB / 441.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008814/0.3164, allocations: 379.9 kB / 442 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.3164, allocations: 40.2 kB / 442.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3165, allocations: 4 kB / 442.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/0.3168, allocations: 56.8 kB / 442.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.317, allocations: 55.89 kB / 442.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.3187, allocations: 1.5 MB / 443.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.319, allocations: 51.73 kB / 443.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.319, allocations: 8 kB / 443.7 MB, free: 9.645 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,integrator.opAmp.satNeg,integrator.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.3192, allocations: 157.4 kB / 443.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.3192, allocations: 19.86 kB / 443.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.3193, allocations: 29.77 kB / 443.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3193, allocations: 0 / 443.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3193, allocations: 3.938 kB / 443.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3193, allocations: 0 / 443.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.3196, allocations: 300.4 kB / 444.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3196, allocations: 0 / 444.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.3198, allocations: 43.97 kB / 444.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.32, allocations: 52.8 kB / 444.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.32, allocations: 8 kB / 444.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.3216, allocations: 1.496 MB / 445.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3216, allocations: 0 / 445.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.3226, allocations: 397.3 kB / 446.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.3226, allocations: 23.83 kB / 446.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.3227, allocations: 4 kB / 446.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.3229, allocations: 31.95 kB / 446.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.323, allocations: 19.97 kB / 446.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.323, allocations: 8.062 kB / 446.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.3232, allocations: 197.1 kB / 446.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3232, allocations: 0 / 446.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.3236, allocations: 75.78 kB / 446.6 MB, free: 6.613 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: 5 ($whenCondition1,integrator.opAmp.satPos,integrator.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001464/0.325, allocations: 0.9137 MB / 447.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009312/0.326, allocations: 385.9 kB / 447.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.326, allocations: 0 / 447.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.3264, allocations: 215.2 kB / 448.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.3267, allocations: 51.91 kB / 448.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006023/0.3328, allocations: 3.096 MB / 451.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.3332, allocations: 0.748 MB / 452 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.3333, allocations: 26.28 kB / 452 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.3335, allocations: 79.41 kB / 452.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3335, allocations: 0 / 452.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0428/0.3763, allocations: 6.79 MB / 458.9 MB, free: 10.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.73, allocations: 8.359 kB / 458.9 MB, free: 10.21 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.101987942820415]