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.001267/0.001267, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001415/0.001415, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.432/1.432, allocations: 230.5 MB / 257.4 MB, free: 8 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.002016/0.002016, allocations: 63.89 kB / 377.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2649, allocations: 53.42 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.00404/0.269, allocations: 2.657 MB / 433.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2702, allocations: 0.6815 MB / 434.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.2704, allocations: 4 kB / 434.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.2705, allocations: 51.5 kB / 434.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.2708, allocations: 91.25 kB / 434.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.2709, allocations: 59.92 kB / 434.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000357/0.2713, allocations: 322.6 kB / 435.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.2715, allocations: 69.14 kB / 435.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.2716, allocations: 119.5 kB / 435.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.2718, allocations: 131.5 kB / 435.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.2718, allocations: 24 kB / 435.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.628e-05/0.2719, allocations: 28 kB / 435.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.2719, allocations: 59.77 kB / 435.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.2721, allocations: 135.3 kB / 435.6 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.2724, allocations: 299.1 kB / 435.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2724, allocations: 0 / 435.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2724, allocations: 0 / 435.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.2724, allocations: 0 / 435.9 MB, free: 1.949 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.0008784/0.2733, allocations: 497.5 kB / 436.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2734, allocations: 8.031 kB / 436.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.57e-05/0.2735, allocations: 66.66 kB / 436.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.2735, allocations: 32.8 kB / 436.5 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.2739, allocations: 198.8 kB / 436.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.2739, allocations: 16.88 kB / 436.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.2739, allocations: 24.38 kB / 436.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.2743, allocations: 224.2 kB / 437 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2743, allocations: 0 / 437 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.2743, allocations: 12 kB / 437 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.2743, allocations: 7.938 kB / 437 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.2746, allocations: 161.9 kB / 437.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.2761, allocations: 0.8775 MB / 438 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.2766, allocations: 186.5 kB / 438.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.2768, allocations: 112.6 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.2768, allocations: 4 kB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.2769, allocations: 46.55 kB / 438.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.785e-06/0.2769, allocations: 3.984 kB / 438.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006154/0.2775, allocations: 233.4 kB / 438.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.2775, allocations: 51.41 kB / 438.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.2777, allocations: 228.2 kB / 438.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.2778, allocations: 29.7 kB / 438.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.2779, allocations: 176.1 kB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.549e-05/0.2779, allocations: 67.42 kB / 439.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/0.278, allocations: 49.7 kB / 439.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2782, allocations: 334.8 kB / 439.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.704e-05/0.2783, allocations: 51.97 kB / 439.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.2784, allocations: 122 kB / 439.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.2786, allocations: 172.8 kB / 439.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2786, allocations: 4 kB / 439.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003874/0.279, allocations: 250 kB / 440.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.279, allocations: 4 kB / 440.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.279, allocations: 4 kB / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.2792, allocations: 24.84 kB / 440.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.2794, allocations: 56.09 kB / 440.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.2805, allocations: 1.311 MB / 441.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.2807, allocations: 23.78 kB / 441.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.2807, allocations: 12 kB / 441.5 MB, free: 11.95 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.000133/0.2808, allocations: 137.7 kB / 441.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.2808, allocations: 23.86 kB / 441.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.2809, allocations: 29.8 kB / 441.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2809, allocations: 0 / 441.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2809, allocations: 4.141 kB / 441.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2809, allocations: 12.05 kB / 441.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007814/0.2817, allocations: 0.5444 MB / 442.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2817, allocations: 0 / 442.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.2819, allocations: 35.92 kB / 442.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.58e-05/0.282, allocations: 24.84 kB / 442.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.282, allocations: 11.91 kB / 442.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009997/0.283, allocations: 1.311 MB / 443.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.283, allocations: 0 / 443.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.2834, allocations: 348.9 kB / 444 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.2834, allocations: 19.8 kB / 444 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.2835, allocations: 11.94 kB / 444 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.2836, allocations: 24.05 kB / 444.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.2837, allocations: 15.97 kB / 444.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.2837, allocations: 8 kB / 444.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.2839, allocations: 159.5 kB / 444.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2839, allocations: 4 kB / 444.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003296/0.2842, allocations: 67.89 kB / 444.3 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.0008111/0.285, allocations: 0.8769 MB / 445.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004229/0.2854, allocations: 262.8 kB / 445.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2854, allocations: 8.062 kB / 445.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.2857, allocations: 182.6 kB / 445.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.2861, allocations: 46.61 kB / 445.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.2895, allocations: 2.584 MB / 448.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.2899, allocations: 0.7482 MB / 449 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.338e-05/0.29, allocations: 29.92 kB / 449 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.2901, allocations: 71.41 kB / 449.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2901, allocations: 0 / 449.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/0.3277, allocations: 5.213 MB / 454.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.56, allocations: 11.23 kB / 454.3 MB, free: 14.88 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 & /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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.89007541211322]