Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 182.7 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009014/0.0009014, allocations: 99.83 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003201, allocations: 4 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2654, allocations: 50.41 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.3714, allocations: 78.94 MB / 480.5 MB, free: 1.574 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.3717, allocations: 83.95 kB / 480.5 MB, free: 1.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01133/0.3831, allocations: 4.281 MB / 484.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.3831, allocations: 0 / 484.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.3832, allocations: 4 kB / 484.8 MB, free: 13.2 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007383/0.3839, allocations: 0.5184 MB / 485.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.384, allocations: 12.03 kB / 485.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.908e-05/0.384, allocations: 23.72 kB / 485.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.3844, allocations: 247.2 kB / 485.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.3844, allocations: 20.5 kB / 485.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.3845, allocations: 24 kB / 485.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.3849, allocations: 228.8 kB / 485.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3849, allocations: 4 kB / 485.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.385, allocations: 8.344 kB / 485.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.385, allocations: 7.953 kB / 485.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.3855, allocations: 186.2 kB / 486.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.3872, allocations: 0.97 MB / 487.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.3878, allocations: 230.7 kB / 487.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3878, allocations: 0 / 487.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.3879, allocations: 38.55 kB / 487.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.3879, allocations: 0 / 487.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001802/0.3897, allocations: 0.5852 MB / 487.9 MB, free: 9.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.3897, allocations: 51.41 kB / 487.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.39, allocations: 210.2 kB / 488.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.39, allocations: 33.7 kB / 488.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3901, allocations: 171.8 kB / 488.4 MB, free: 9.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.3902, allocations: 51.25 kB / 488.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.749e-06/0.3902, allocations: 4 kB / 488.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3903, allocations: 326.8 kB / 488.7 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.3905, allocations: 71.95 kB / 488.8 MB, free: 8.957 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.3907, allocations: 110 kB / 488.9 MB, free: 8.828 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.3909, allocations: 82.86 kB / 489 MB, free: 8.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3909, allocations: 0 / 489 MB, free: 8.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007672/0.3916, allocations: 346.1 kB / 489.3 MB, free: 8.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002519/0.3919, allocations: 0.6133 MB / 489.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3919, allocations: 3.953 kB / 489.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003808/0.3923, allocations: 88.73 kB / 490 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.3925, allocations: 35.98 kB / 490.1 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009271/0.3934, allocations: 0.7007 MB / 490.8 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.3936, allocations: 35.7 kB / 490.8 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.3936, allocations: 12 kB / 490.8 MB, free: 6.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.3936, allocations: 10.72 kB / 490.8 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002803/0.3939, allocations: 171.5 kB / 491 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3939, allocations: 7.938 kB / 491 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.686e-05/0.394, allocations: 20.84 kB / 491 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.3942, allocations: 47.88 kB / 491.1 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009154/0.3951, allocations: 1.316 MB / 492.4 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3952, allocations: 11.88 kB / 492.4 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.3952, allocations: 12 kB / 492.4 MB, free: 5.109 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001655/0.3954, allocations: 209.1 kB / 492.6 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.3955, allocations: 23.8 kB / 492.6 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.3955, allocations: 25.48 kB / 492.7 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3955, allocations: 4 kB / 492.7 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.3955, allocations: 0 / 492.7 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.3955, allocations: 4.266 kB / 492.7 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.3959, allocations: 285.4 kB / 492.9 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3959, allocations: 0 / 492.9 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.396, allocations: 19.98 kB / 493 MB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002568/0.3963, allocations: 88.78 kB / 493 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3963, allocations: 0 / 493 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.3985, allocations: 1.795 MB / 494.8 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3986, allocations: 4.062 kB / 494.8 MB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008824/0.3995, allocations: 459.8 kB / 495.3 MB, free: 2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.3995, allocations: 88.95 kB / 495.4 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.3996, allocations: 8 kB / 495.4 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.3998, allocations: 19.98 kB / 495.4 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.3998, allocations: 7.984 kB / 495.4 MB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.3998, allocations: 8 kB / 495.4 MB, free: 1.852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001633/0.4, allocations: 164.7 kB / 495.6 MB, free: 1.691 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4, allocations: 0 / 495.6 MB, free: 1.691 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005002/0.4005, allocations: 119.6 kB / 495.7 MB, free: 1.574 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001974/0.4007, allocations: 115.2 kB / 495.8 MB, free: 1.453 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.4017, allocations: 454.2 kB / 496.3 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4017, allocations: 0 / 496.3 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.402, allocations: 206.3 kB / 496.5 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.4024, allocations: 40.53 kB / 496.5 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009974/0.4034, allocations: 0.5861 MB / 497.1 MB, free: 132 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.4038, allocations: 0.7483 MB / 497.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.4039, allocations: 21.94 kB / 497.9 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.4039, allocations: 19.44 kB / 497.9 MB, free: 15.31 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.404, allocations: 4 kB / 497.9 MB, free: 15.3 MB / 378.7 MB Notification: Performance of Templates: time 0.005532/0.4095, allocations: 2.566 MB / 0.4887 GB, free: 12.76 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,c.v,opAmp.out.v,opAmp.out.i Variables in the result:C,R,R1,R2,Vns,Vps,c.C,c.v,f,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.homotopyType,opAmp.out.i,opAmp.out.v,opAmp.simplifiedExpr,opAmp.strict,opAmp.useSupply,opAmp.vns,opAmp.vps,r.R,r.T,r.T_heatPort,r.T_ref,r.alpha,r1.R,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,time,vOut.v