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.001737/0.001737, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002276/0.002276, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.556/1.556, allocations: 230.4 MB / 254 MB, free: 15.03 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.0019/0.0019, allocations: 63.91 kB / 373 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1227, allocations: 53.37 MB / 426.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004604/0.1273, allocations: 2.896 MB / 429.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1287, allocations: 0.7245 MB / 430 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.1289, allocations: 7.938 kB / 430 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.1291, allocations: 51.5 kB / 430.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.1293, allocations: 111.2 kB / 430.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.1296, allocations: 99.83 kB / 430.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004599/0.13, allocations: 378.5 kB / 430.6 MB, free: 320 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.1303, allocations: 95.25 kB / 430.7 MB, free: 216 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/0.1306, allocations: 167.3 kB / 430.9 MB, free: 48 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2228/0.3534, allocations: 160.5 kB / 431.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.3536, allocations: 38 kB / 431.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.656e-05/0.3537, allocations: 38.78 kB / 431.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.3537, allocations: 74.28 kB / 431.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.3539, allocations: 170.2 kB / 431.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000538/0.3545, allocations: 438.8 kB / 431.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3545, allocations: 2.188 kB / 431.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3545, allocations: 0.8125 kB / 431.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.3545, allocations: 0.5312 kB / 431.8 MB, free: 7.852 MB / 350.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.001159/0.3556, allocations: 0.658 MB / 432.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3557, allocations: 9.406 kB / 432.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.888e-05/0.3557, allocations: 61.92 kB / 432.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.3558, allocations: 37.47 kB / 432.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.3562, allocations: 298.6 kB / 432.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.3562, allocations: 22.78 kB / 432.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.3562, allocations: 26.62 kB / 432.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.3568, allocations: 277.8 kB / 433.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3568, allocations: 0.5 kB / 433.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.3569, allocations: 10.47 kB / 433.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.3569, allocations: 6.469 kB / 433.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006108/0.3575, allocations: 254.8 kB / 433.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.3592, allocations: 1.118 MB / 434.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006924/0.3599, allocations: 199.6 kB / 434.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.3602, allocations: 87.3 kB / 434.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.3602, allocations: 5.484 kB / 434.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004182/0.3606, allocations: 166.9 kB / 435 MB, free: 6.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.3606, allocations: 0 / 435 MB, free: 6.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001476/0.3621, allocations: 470.2 kB / 435.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.3621, allocations: 111 kB / 435.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.3624, allocations: 260.5 kB / 435.8 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3625, allocations: 30.08 kB / 435.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3626, allocations: 200.1 kB / 436.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.3626, allocations: 50.56 kB / 436.1 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.758e-05/0.3627, allocations: 53.89 kB / 436.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.3627, allocations: 330.1 kB / 436.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.363, allocations: 94.95 kB / 436.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.3634, allocations: 187.6 kB / 436.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.3639, allocations: 265.2 kB / 437 MB, free: 5.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3639, allocations: 3.281 kB / 437 MB, free: 5.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009525/0.3649, allocations: 388.4 kB / 437.4 MB, free: 5.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.3649, allocations: 37.66 kB / 437.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.3649, allocations: 2.906 kB / 437.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003494/0.3653, allocations: 62.41 kB / 437.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.3655, allocations: 49.28 kB / 437.6 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.3671, allocations: 1.606 MB / 439.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.3674, allocations: 50.12 kB / 439.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.3674, allocations: 17.62 kB / 439.2 MB, free: 3.711 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.3676, allocations: 155.2 kB / 439.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.3677, allocations: 24.25 kB / 439.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.3677, allocations: 25.97 kB / 439.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3677, allocations: 2.344 kB / 439.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3677, allocations: 3.938 kB / 439.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3677, allocations: 1.219 kB / 439.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.3681, allocations: 316.4 kB / 439.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3681, allocations: 0.5625 kB / 439.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.3683, allocations: 32.2 kB / 439.8 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/0.3686, allocations: 59 kB / 439.8 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.3686, allocations: 3.359 kB / 439.8 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.37, allocations: 1.614 MB / 441.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.37, allocations: 1.859 kB / 441.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.3711, allocations: 386.6 kB / 441.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.3712, allocations: 102.9 kB / 441.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.3712, allocations: 1.781 kB / 441.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.3714, allocations: 28.25 kB / 442 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/0.3715, allocations: 20.05 kB / 442 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.3715, allocations: 8.938 kB / 442 MB, free: 1.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.3718, allocations: 190.5 kB / 442.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3718, allocations: 0 / 442.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004124/0.3722, allocations: 84.03 kB / 442.3 MB, free: 1.422 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.001402/0.3736, allocations: 0.9211 MB / 443.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009456/0.3745, allocations: 388.2 kB / 443.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.3745, allocations: 5.094 kB / 443.6 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004475/0.375, allocations: 210 kB / 443.8 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.3754, allocations: 53.84 kB / 443.8 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007337/0.3827, allocations: 3.093 MB / 446.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.3832, allocations: 0.7575 MB / 447.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.3833, allocations: 27.3 kB / 447.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.3835, allocations: 80.8 kB / 447.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3835, allocations: 0 / 447.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03905/0.4225, allocations: 6.624 MB / 454.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.58, allocations: 10.28 kB / 454.4 MB, free: 12.16 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable integrator.opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! Error: Could not read variable integrator.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv. Warning: Get data of variable integrator.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.237677227007225]