Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.001731/0.001731, allocations: 132.4 kB / 17.79 MB, free: 5.242 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.002002/0.002002, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.544/1.544, allocations: 230.4 MB / 254 MB, free: 15.01 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.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.89 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1167, allocations: 53.38 MB / 426.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.006483/0.1232, allocations: 2.657 MB / 429.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1252, allocations: 0.67 MB / 429.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000472/0.1257, allocations: 7.938 kB / 429.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.1261, allocations: 39.58 kB / 429.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007446/0.1268, allocations: 95.25 kB / 429.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.1272, allocations: 67.91 kB / 429.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006792/0.1279, allocations: 314.6 kB / 430.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/0.1282, allocations: 72.94 kB / 430.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.1285, allocations: 115.6 kB / 430.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.1288, allocations: 127.5 kB / 430.5 MB, free: 424 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.624e-05/0.1289, allocations: 31.94 kB / 430.6 MB, free: 392 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.051e-05/0.129, allocations: 24 kB / 430.6 MB, free: 368 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.139e-05/0.1291, allocations: 63.77 kB / 430.7 MB, free: 304 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002214/0.1293, allocations: 135.3 kB / 430.8 MB, free: 168 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2522/0.3815, allocations: 292.5 kB / 431.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3815, allocations: 0 / 431.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3815, allocations: 0 / 431.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.3815, allocations: 0 / 431.1 MB, free: 8.273 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0008705/0.3824, allocations: 0.5587 MB / 431.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3824, allocations: 12.78 kB / 431.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.776e-05/0.3825, allocations: 54.88 kB / 431.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/0.3825, allocations: 31.19 kB / 431.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.3828, allocations: 259.2 kB / 432 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.3828, allocations: 18.75 kB / 432 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.3829, allocations: 27.41 kB / 432 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.3832, allocations: 224.8 kB / 432.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3833, allocations: 0.75 kB / 432.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.3833, allocations: 8.969 kB / 432.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3833, allocations: 6.656 kB / 432.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.3836, allocations: 173.6 kB / 432.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.3849, allocations: 0.9132 MB / 433.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.3853, allocations: 186.8 kB / 433.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.3855, allocations: 108.2 kB / 433.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.3855, allocations: 3.938 kB / 433.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.3856, allocations: 39.25 kB / 433.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.3856, allocations: 3.844 kB / 433.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005763/0.3861, allocations: 313.1 kB / 434 MB, free: 6.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.3862, allocations: 53.72 kB / 434 MB, free: 6.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.3864, allocations: 229.4 kB / 434.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3864, allocations: 33.36 kB / 434.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/0.3864, allocations: 173 kB / 434.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.3865, allocations: 66.3 kB / 434.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.3866, allocations: 46.72 kB / 434.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.3866, allocations: 334.6 kB / 434.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.292e-05/0.3867, allocations: 56.02 kB / 435 MB, free: 6.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3868, allocations: 116.7 kB / 435.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.387, allocations: 169.8 kB / 435.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.387, allocations: 1.375 kB / 435.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000375/0.3874, allocations: 254 kB / 435.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3874, allocations: 7.641 kB / 435.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3874, allocations: 1.094 kB / 435.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/0.3876, allocations: 30 kB / 435.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.3878, allocations: 52.31 kB / 435.6 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007784/0.3886, allocations: 1.42 MB / 437 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.3887, allocations: 25.61 kB / 437 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.3888, allocations: 7.844 kB / 437 MB, free: 4.602 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.966e-05/0.3889, allocations: 142.8 kB / 437.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.3889, allocations: 22.98 kB / 437.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.3889, allocations: 24.08 kB / 437.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3889, allocations: 7.922 kB / 437.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.389, allocations: 0 / 437.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.389, allocations: 3.438 kB / 437.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007009/0.3897, allocations: 0.5696 MB / 437.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3897, allocations: 0 / 437.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.3898, allocations: 39.66 kB / 437.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.185e-05/0.3899, allocations: 28.17 kB / 437.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3899, allocations: 4.969 kB / 437.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007149/0.3906, allocations: 1.413 MB / 439.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3906, allocations: 0.5625 kB / 439.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.391, allocations: 349.2 kB / 439.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.3911, allocations: 97.88 kB / 439.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3911, allocations: 5.938 kB / 439.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.3913, allocations: 22.08 kB / 439.7 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.3913, allocations: 22.94 kB / 439.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.3914, allocations: 9 kB / 439.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.3915, allocations: 158.4 kB / 439.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3915, allocations: 0 / 439.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.3918, allocations: 71.33 kB / 440 MB, free: 2.406 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (opAmp.v_int,c.v) * Number of discrete variables: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006395/0.3925, allocations: 0.8845 MB / 440.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004482/0.3929, allocations: 256.6 kB / 441.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3929, allocations: 1.125 kB / 441.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.3931, allocations: 182.9 kB / 441.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.3935, allocations: 38.7 kB / 441.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.3969, allocations: 2.596 MB / 444 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.3974, allocations: 0.7512 MB / 444.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.3975, allocations: 25.53 kB / 444.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.3976, allocations: 74.81 kB / 444.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3976, allocations: 0 / 444.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03476/0.4324, allocations: 5.051 MB / 449.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.65, allocations: 4.625 kB / 449.9 MB, free: 14.25 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_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_Multivibrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.csv. Warning: Get data of variable opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.csv failed! Error: Could not read variable opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.csv. Warning: Get data of variable opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.32864194503054]