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.0009156/0.0009156, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001209/0.001209, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9173/0.9173, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.703e-06/1.703e-06, allocations: 0 / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.874e-05, allocations: 3.125 kB / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.00291/0.002939, allocations: 2.478 MB / 327 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009961/0.003935, allocations: 0.6466 MB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.004077, allocations: 7.938 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.004245, allocations: 35.64 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.004484, allocations: 103.1 kB / 327.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.004618, allocations: 67.89 kB / 327.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.004882, allocations: 330.2 kB / 328.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.005045, allocations: 72.91 kB / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.005187, allocations: 167.6 kB / 328.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.005304, allocations: 95.69 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.00534, allocations: 28 kB / 328.6 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.345e-05/0.005364, allocations: 24 kB / 328.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.005403, allocations: 63.75 kB / 328.7 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.583e-05/0.005468, allocations: 95.75 kB / 328.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.005715, allocations: 303 kB / 329 MB, free: 11.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.005718, allocations: 4 kB / 329 MB, free: 11.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.005719, allocations: 0 / 329 MB, free: 11.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.005725, allocations: 0 / 329 MB, free: 11.33 MB / 298.7 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.0005958/0.00632, allocations: 493.5 kB / 329.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.006362, allocations: 11.98 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.006413, allocations: 54.73 kB / 329.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.006465, allocations: 36.75 kB / 329.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.006776, allocations: 193.3 kB / 329.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.006796, allocations: 20.88 kB / 329.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.709e-05/0.006833, allocations: 24.33 kB / 329.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.007211, allocations: 327.5 kB / 330.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.007221, allocations: 192 / 330.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.00724, allocations: 12.12 kB / 330.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.007247, allocations: 4 kB / 330.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.007443, allocations: 169.9 kB / 330.4 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009642/0.008407, allocations: 0.8237 MB / 331.2 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.008704, allocations: 182.5 kB / 331.4 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.008863, allocations: 108.8 kB / 331.5 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.008881, allocations: 4 kB / 331.5 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.008903, allocations: 38.56 kB / 331.5 MB, free: 8.684 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.008905, allocations: 0 / 331.5 MB, free: 8.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004028/0.009308, allocations: 242.5 kB / 331.8 MB, free: 8.438 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.00934, allocations: 59.41 kB / 331.8 MB, free: 8.367 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.009488, allocations: 223.2 kB / 332 MB, free: 8.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.009501, allocations: 25.7 kB / 332.1 MB, free: 8.109 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/0.009578, allocations: 180.2 kB / 332.2 MB, free: 7.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.00961, allocations: 63.44 kB / 332.3 MB, free: 7.867 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.00966, allocations: 45.7 kB / 332.3 MB, free: 7.816 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.009746, allocations: 334.8 kB / 332.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-05/0.009812, allocations: 55.98 kB / 332.7 MB, free: 7.422 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-05/0.009907, allocations: 114 kB / 332.8 MB, free: 7.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.01008, allocations: 178.5 kB / 333 MB, free: 7.094 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.01008, allocations: 3.938 kB / 333 MB, free: 7.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002459/0.01032, allocations: 238.2 kB / 333.2 MB, free: 6.848 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.01034, allocations: 7.984 kB / 333.2 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01034, allocations: 4 kB / 333.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001182/0.01046, allocations: 32.97 kB / 333.3 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.01057, allocations: 43.98 kB / 333.3 MB, free: 6.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007297/0.0113, allocations: 1.316 MB / 334.6 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/0.01138, allocations: 19.92 kB / 334.7 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.01139, allocations: 11.98 kB / 334.7 MB, free: 5.285 MB / 298.7 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.887e-05/0.01149, allocations: 141.8 kB / 334.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.01152, allocations: 27.8 kB / 334.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.01154, allocations: 21.81 kB / 334.9 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.01155, allocations: 0 / 334.9 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.01155, allocations: 3.984 kB / 334.9 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.01155, allocations: 4 kB / 334.9 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.01206, allocations: 0.522 MB / 335.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01206, allocations: 0 / 335.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.188e-05/0.01215, allocations: 35.98 kB / 335.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.158e-05/0.01221, allocations: 28.88 kB / 335.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.01222, allocations: 0 / 335.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006424/0.01286, allocations: 1.311 MB / 336.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01286, allocations: 4.031 kB / 336.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005367/0.0134, allocations: 348.4 kB / 337.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.01345, allocations: 19.83 kB / 337.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.01347, allocations: 16.11 kB / 337.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.01361, allocations: 23.86 kB / 337.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.01366, allocations: 11.98 kB / 337.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.01367, allocations: 7.938 kB / 337.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001227/0.0138, allocations: 163.2 kB / 337.3 MB, free: 2.418 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0138, allocations: 0 / 337.3 MB, free: 2.418 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002825/0.01408, allocations: 67.89 kB / 337.4 MB, free: 2.352 MB / 298.7 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.0006391/0.01472, allocations: 0.8857 MB / 338.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004199/0.01514, allocations: 250.5 kB / 338.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01514, allocations: 0 / 338.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.01528, allocations: 190.5 kB / 338.7 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.01559, allocations: 40.47 kB / 338.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.01845, allocations: 2.559 MB / 341.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.01855, allocations: 138.4 kB / 341.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.114e-05/0.01864, allocations: 21.94 kB / 341.5 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.664e-05/0.01872, allocations: 76.47 kB / 341.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of SimCode: time 1.292e-06/0.01872, allocations: 4 kB / 341.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.03859, allocations: 5.87 MB / 347.4 MB, free: 8.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.124, allocations: 11.98 kB / 347.4 MB, free: 8.238 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins/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: 8.926084630191326]