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.0009265/0.0009265, 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.0009255/0.0009255, 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.9135/0.9135, 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.764e-06/1.764e-06, allocations: 0 / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.769e-05, allocations: 2.844 kB / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002631/0.002648, allocations: 2.482 MB / 327 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.003998, allocations: 0.631 MB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.004195, allocations: 7.938 kB / 327.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.004364, allocations: 43.58 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.004671, allocations: 99.17 kB / 327.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.004862, allocations: 67.89 kB / 327.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.005211, allocations: 338.2 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.005403, allocations: 68.91 kB / 328.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.005611, allocations: 171.6 kB / 328.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.005762, allocations: 91.7 kB / 328.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.005812, allocations: 28 kB / 328.6 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.045e-05/0.005842, allocations: 24 kB / 328.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.005884, allocations: 59.75 kB / 328.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.214e-05/0.005956, allocations: 95.75 kB / 328.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.006239, allocations: 299 kB / 329 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.006245, allocations: 12 kB / 329.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.006246, allocations: 0 / 329.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.006252, allocations: 0 / 329.1 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.0006775/0.00693, allocations: 485.5 kB / 329.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.006975, allocations: 11.98 kB / 329.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.119e-05/0.007026, allocations: 62.73 kB / 329.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.007082, allocations: 32.75 kB / 329.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.007401, allocations: 201.3 kB / 329.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.007419, allocations: 20.88 kB / 329.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.007452, allocations: 24.33 kB / 329.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.007784, allocations: 315.5 kB / 330.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.007794, allocations: 192 / 330.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.007817, allocations: 16.12 kB / 330.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.007826, allocations: 8 kB / 330.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.008102, allocations: 165.9 kB / 330.4 MB, free: 9.926 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.009177, allocations: 0.8276 MB / 331.2 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.009529, allocations: 186.5 kB / 331.4 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.009697, allocations: 104.8 kB / 331.5 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.009726, allocations: 4 kB / 331.5 MB, free: 8.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.00975, allocations: 38.56 kB / 331.5 MB, free: 8.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.009751, allocations: 4 kB / 331.5 MB, free: 8.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004399/0.01019, allocations: 242.5 kB / 331.8 MB, free: 8.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.01022, allocations: 55.41 kB / 331.8 MB, free: 8.363 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.0105, allocations: 219.2 kB / 332 MB, free: 8.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.01052, allocations: 37.69 kB / 332.1 MB, free: 8.098 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.599e-05/0.0106, allocations: 172.2 kB / 332.2 MB, free: 7.926 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.01063, allocations: 67.44 kB / 332.3 MB, free: 7.859 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.01068, allocations: 45.7 kB / 332.3 MB, free: 7.809 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.01078, allocations: 330.8 kB / 332.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.01086, allocations: 55.98 kB / 332.7 MB, free: 7.422 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.08e-05/0.01095, allocations: 114 kB / 332.8 MB, free: 7.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.01111, allocations: 178.5 kB / 333 MB, free: 7.094 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.01112, allocations: 11.94 kB / 333 MB, free: 7.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002666/0.01138, allocations: 234.1 kB / 333.2 MB, free: 6.844 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.0114, allocations: 4 kB / 333.3 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.0114, allocations: 4 kB / 333.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001339/0.01154, allocations: 28.78 kB / 333.3 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.01167, allocations: 51.97 kB / 333.3 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007593/0.01243, allocations: 1.32 MB / 334.7 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.359e-05/0.01252, allocations: 19.88 kB / 334.7 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.01253, allocations: 12 kB / 334.7 MB, free: 5.277 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 0.0001086/0.01264, allocations: 133.8 kB / 334.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.01267, allocations: 27.8 kB / 334.8 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.0127, allocations: 25.8 kB / 334.9 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.0127, allocations: 4.062 kB / 334.9 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.01271, allocations: 4 kB / 334.9 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01271, allocations: 0 / 334.9 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.01323, allocations: 0.526 MB / 335.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01323, allocations: 0 / 335.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.844e-05/0.01333, allocations: 31.98 kB / 335.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-05/0.01339, allocations: 24.84 kB / 335.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.0134, allocations: 7.984 kB / 335.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008667/0.01426, allocations: 1.311 MB / 336.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01427, allocations: 3.984 kB / 336.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.01454, allocations: 344.4 kB / 337.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.01457, allocations: 27.81 kB / 337.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.01458, allocations: 4 kB / 337.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.01467, allocations: 31.98 kB / 337.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.01471, allocations: 11.98 kB / 337.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.01472, allocations: 11.92 kB / 337.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.125e-05/0.01481, allocations: 159.2 kB / 337.4 MB, free: 2.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01481, allocations: 0 / 337.4 MB, free: 2.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.01504, allocations: 71.83 kB / 337.4 MB, free: 2.34 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.0004814/0.01553, allocations: 0.8779 MB / 338.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.01585, allocations: 254.6 kB / 338.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.01585, allocations: 0 / 338.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.01598, allocations: 190.5 kB / 338.7 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.01626, allocations: 34.98 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.002232/0.01849, allocations: 2.557 MB / 341.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.551e-05/0.01858, allocations: 134.4 kB / 341.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.32e-05/0.01866, allocations: 21.95 kB / 341.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.552e-05/0.01874, allocations: 80.45 kB / 341.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01874, allocations: 0 / 341.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.03972, allocations: 5.875 MB / 347.4 MB, free: 8.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/6.946, allocations: 8 kB / 347.4 MB, free: 8.242 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.642694017849863]