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.001452/0.001452, allocations: 116.4 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.001569/0.001569, allocations: 215.1 kB / 23.75 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.393/1.393, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.002636/0.002636, allocations: 59.91 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2829, allocations: 53.4 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004079/0.2869, allocations: 2.658 MB / 433.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.2883, allocations: 0.6815 MB / 434.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.2884, allocations: 4 kB / 434.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.2886, allocations: 47.58 kB / 434.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.2889, allocations: 95.23 kB / 434.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.289, allocations: 63.86 kB / 434.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.2894, allocations: 314.6 kB / 435.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.2896, allocations: 73.12 kB / 435.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.2897, allocations: 115.6 kB / 435.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.2899, allocations: 139.4 kB / 435.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.29, allocations: 24 kB / 435.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.437e-05/0.29, allocations: 24 kB / 435.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.2901, allocations: 59.77 kB / 435.5 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.2902, allocations: 131.3 kB / 435.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.2906, allocations: 303.1 kB / 435.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2906, allocations: 0 / 435.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2906, allocations: 0 / 435.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.2906, allocations: 0 / 435.9 MB, free: 1.973 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0008718/0.2915, allocations: 0.4897 MB / 436.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.2915, allocations: 8.031 kB / 436.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.682e-05/0.2916, allocations: 58.72 kB / 436.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.2917, allocations: 32.78 kB / 436.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.2921, allocations: 198.8 kB / 436.7 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.2921, allocations: 20.88 kB / 436.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.2921, allocations: 20.38 kB / 436.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.2925, allocations: 220.2 kB / 437 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2925, allocations: 4 kB / 437 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.2925, allocations: 12 kB / 437 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2925, allocations: 4 kB / 437 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.2928, allocations: 165.9 kB / 437.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.2943, allocations: 0.8814 MB / 438 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.2948, allocations: 190.5 kB / 438.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.295, allocations: 108.7 kB / 438.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2951, allocations: 7.984 kB / 438.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.2951, allocations: 34.56 kB / 438.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.2951, allocations: 4 kB / 438.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006109/0.2957, allocations: 237.4 kB / 438.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.2958, allocations: 51.41 kB / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.296, allocations: 228.2 kB / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.296, allocations: 33.64 kB / 438.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.2961, allocations: 168.2 kB / 439.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.2962, allocations: 75.41 kB / 439.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.2963, allocations: 49.7 kB / 439.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2964, allocations: 330.8 kB / 439.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.774e-05/0.2965, allocations: 55.97 kB / 439.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.2966, allocations: 114 kB / 439.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.2969, allocations: 180.8 kB / 439.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2969, allocations: 0 / 439.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000393/0.2973, allocations: 246.1 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2973, allocations: 6.5 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2973, allocations: 7.938 kB / 440.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.2975, allocations: 24.84 kB / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.2977, allocations: 51.97 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.2988, allocations: 1.319 MB / 441.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.299, allocations: 27.72 kB / 441.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.299, allocations: 12.06 kB / 441.5 MB, free: 11.97 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 0.0001472/0.2991, allocations: 137.8 kB / 441.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.2992, allocations: 23.86 kB / 441.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.657e-05/0.2992, allocations: 25.8 kB / 441.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2992, allocations: 0 / 441.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2992, allocations: 0 / 441.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.2992, allocations: 7.938 kB / 441.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007811/0.3, allocations: 0.546 MB / 442.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3, allocations: 0 / 442.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.3002, allocations: 39.92 kB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.492e-05/0.3003, allocations: 20.84 kB / 442.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.3003, allocations: 11.94 kB / 442.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009863/0.3013, allocations: 1.307 MB / 443.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3013, allocations: 0 / 443.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.3017, allocations: 361.1 kB / 444 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.3018, allocations: 19.8 kB / 444 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.3018, allocations: 8 kB / 444 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.302, allocations: 15.92 kB / 444 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.302, allocations: 24.03 kB / 444.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.302, allocations: 4 kB / 444.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.3022, allocations: 163.5 kB / 444.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3022, allocations: 0 / 444.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.3025, allocations: 71.89 kB / 444.3 MB, free: 9 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.0007521/0.3033, allocations: 0.8768 MB / 445.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004474/0.3037, allocations: 270.5 kB / 445.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3037, allocations: 0 / 445.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.3039, allocations: 187.1 kB / 445.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.3043, allocations: 37.88 kB / 445.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.3079, allocations: 2.587 MB / 448.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.3083, allocations: 0.7482 MB / 449 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.773e-05/0.3084, allocations: 21.94 kB / 449 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.3085, allocations: 75.41 kB / 449.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3085, allocations: 0 / 449.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.3437, allocations: 5.222 MB / 454.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.46, allocations: 8.062 kB / 454.3 MB, free: 14.9 MB / 366.1 MB " [Timeout remaining time 648] (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.883392055999138]