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.001385/0.001385, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.0014/0.0014, allocations: 213.7 kB / 23.73 MB, free: 4.406 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.449/1.449, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.002035/0.002035, allocations: 63.91 kB / 377.8 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2844, allocations: 53.41 MB / 431.2 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.00394/0.2883, allocations: 2.46 MB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.2894, allocations: 0.6349 MB / 434.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.2896, allocations: 11.94 kB / 434.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.2897, allocations: 47.58 kB / 434.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.2899, allocations: 87.25 kB / 434.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.2901, allocations: 67.84 kB / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.2904, allocations: 318.6 kB / 434.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.2906, allocations: 72.92 kB / 434.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.2908, allocations: 111.6 kB / 435 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.2909, allocations: 127.3 kB / 435.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.291, allocations: 24 kB / 435.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.714e-05/0.291, allocations: 24 kB / 435.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.2911, allocations: 55.83 kB / 435.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.2912, allocations: 119.5 kB / 435.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.2915, allocations: 292.6 kB / 435.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2915, allocations: 0 / 435.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2915, allocations: 0 / 435.6 MB, free: 1.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.2916, allocations: 0 / 435.6 MB, free: 1.988 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.0008103/0.2924, allocations: 497.5 kB / 436.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2924, allocations: 15.98 kB / 436.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.47e-05/0.2925, allocations: 62.72 kB / 436.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.2925, allocations: 32.75 kB / 436.2 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.2929, allocations: 194.8 kB / 436.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2929, allocations: 20.88 kB / 436.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.293, allocations: 24.33 kB / 436.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.2934, allocations: 327 kB / 436.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2934, allocations: 0 / 436.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.2934, allocations: 12 kB / 436.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.2934, allocations: 8 kB / 436.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.2937, allocations: 165.9 kB / 436.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.2952, allocations: 0.8229 MB / 437.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.2957, allocations: 190.5 kB / 437.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.2959, allocations: 112.7 kB / 438.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2959, allocations: 4 kB / 438.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.2959, allocations: 30.56 kB / 438.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.283e-06/0.296, allocations: 0 / 438.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005824/0.2965, allocations: 249.4 kB / 438.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.2966, allocations: 51.41 kB / 438.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.2968, allocations: 223.1 kB / 438.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.2968, allocations: 33.64 kB / 438.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.2969, allocations: 168.2 kB / 438.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.297, allocations: 71.42 kB / 438.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.487e-05/0.2971, allocations: 49.7 kB / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2972, allocations: 334.8 kB / 439.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.741e-05/0.2973, allocations: 51.98 kB / 439.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.2974, allocations: 118 kB / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.2977, allocations: 180.8 kB / 439.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2977, allocations: 0 / 439.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003905/0.2981, allocations: 242.1 kB / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2981, allocations: 4.188 kB / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2981, allocations: 8 kB / 439.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/0.2983, allocations: 32.77 kB / 439.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.2985, allocations: 47.98 kB / 439.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.2996, allocations: 1.312 MB / 441.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.2997, allocations: 19.92 kB / 441.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.2997, allocations: 12 kB / 441.3 MB, free: 11.93 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.0001379/0.2999, allocations: 145.8 kB / 441.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.2999, allocations: 19.86 kB / 441.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.3, allocations: 29.81 kB / 441.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3, allocations: 3.938 kB / 441.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3, allocations: 0 / 441.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3, allocations: 3.984 kB / 441.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000768/0.3007, allocations: 0.5226 MB / 442 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3008, allocations: 4.031 kB / 442 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.3009, allocations: 39.98 kB / 442 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.426e-05/0.301, allocations: 20.84 kB / 442 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.301, allocations: 7.938 kB / 442 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.302, allocations: 1.303 MB / 443.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.302, allocations: 0 / 443.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/0.3025, allocations: 357 kB / 443.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.3026, allocations: 23.8 kB / 443.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.3026, allocations: 7.984 kB / 443.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.3028, allocations: 15.94 kB / 443.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.3028, allocations: 19.97 kB / 443.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.3028, allocations: 4 kB / 443.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.303, allocations: 163.2 kB / 443.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.303, allocations: 0 / 443.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003324/0.3033, allocations: 71.83 kB / 444 MB, free: 8.977 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.000764/0.3041, allocations: 0.8846 MB / 444.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.3045, allocations: 262.5 kB / 445.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3045, allocations: 0 / 445.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.3047, allocations: 189.4 kB / 445.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.3051, allocations: 39.98 kB / 445.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.3086, allocations: 2.58 MB / 447.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.3087, allocations: 138.4 kB / 448.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.3089, allocations: 33.91 kB / 448.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.309, allocations: 75.41 kB / 448.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of SimCode: time 8.71e-07/0.309, allocations: 0 / 448.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04696/0.3559, allocations: 5.729 MB / 453.9 MB, free: 15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.58, allocations: 15.3 kB / 453.9 MB, free: 14.99 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: 14.042957664933056]