Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001811/0.001811, allocations: 201.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008109/0.0008111, allocations: 100.1 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002994, allocations: 8 kB / 360.7 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2696, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003545/0.2732, allocations: 2.204 MB / 414.3 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.2751, allocations: 0.8204 MB / 415.1 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.2753, allocations: 8.438 kB / 415.1 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.2755, allocations: 31.77 kB / 415.1 MB, free: 22.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.2759, allocations: 69.61 kB / 415.2 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.2762, allocations: 67.94 kB / 415.3 MB, free: 22.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000397/0.2766, allocations: 300.1 kB / 415.6 MB, free: 22.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.2769, allocations: 74.2 kB / 415.6 MB, free: 22.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.2771, allocations: 103.6 kB / 415.7 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.2773, allocations: 119.4 kB / 415.8 MB, free: 22.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.2773, allocations: 16 kB / 415.9 MB, free: 22.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.215e-05/0.2774, allocations: 12 kB / 415.9 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.396e-05/0.2775, allocations: 43.83 kB / 415.9 MB, free: 21.99 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.2777, allocations: 141 kB / 416.1 MB, free: 21.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.278, allocations: 276.4 kB / 416.3 MB, free: 21.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.278, allocations: 0 / 416.3 MB, free: 21.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.278, allocations: 0 / 416.3 MB, free: 21.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.278, allocations: 0 / 416.3 MB, free: 21.58 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001128/0.2792, allocations: 0.5226 MB / 416.9 MB, free: 21.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.2793, allocations: 8.031 kB / 416.9 MB, free: 21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.395e-05/0.2794, allocations: 32.66 kB / 416.9 MB, free: 20.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.2797, allocations: 247.8 kB / 417.1 MB, free: 20.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.2798, allocations: 16.94 kB / 417.1 MB, free: 20.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.886e-05/0.2798, allocations: 20.38 kB / 417.2 MB, free: 20.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000649/0.2805, allocations: 233.1 kB / 417.4 MB, free: 20.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2805, allocations: 0 / 417.4 MB, free: 20.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.2806, allocations: 12 kB / 417.4 MB, free: 20.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.2806, allocations: 8 kB / 417.4 MB, free: 20.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006577/0.2813, allocations: 186.2 kB / 417.6 MB, free: 20.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.2833, allocations: 0.9163 MB / 418.5 MB, free: 19.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009688/0.2843, allocations: 218.7 kB / 418.7 MB, free: 19.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004548/0.2848, allocations: 132.7 kB / 418.9 MB, free: 18.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.2848, allocations: 7.938 kB / 418.9 MB, free: 18.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.2849, allocations: 30.56 kB / 418.9 MB, free: 18.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.545e-06/0.2849, allocations: 0 / 418.9 MB, free: 18.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.002822/0.2877, allocations: 0.6048 MB / 419.5 MB, free: 18.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.2878, allocations: 59.34 kB / 419.6 MB, free: 18.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.2881, allocations: 227 kB / 419.8 MB, free: 17.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.2881, allocations: 29.7 kB / 419.8 MB, free: 17.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.2882, allocations: 167.8 kB / 420 MB, free: 17.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.2883, allocations: 59.12 kB / 420 MB, free: 17.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.2883, allocations: 4 kB / 420 MB, free: 17.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.2884, allocations: 326.8 kB / 420.4 MB, free: 17.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.2887, allocations: 71.95 kB / 420.4 MB, free: 17.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.289, allocations: 113.2 kB / 420.5 MB, free: 17.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005434/0.2896, allocations: 183.1 kB / 420.7 MB, free: 16.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2896, allocations: 4 kB / 420.7 MB, free: 16.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00136/0.291, allocations: 356.6 kB / 421.1 MB, free: 16.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.132e-05/0.2911, allocations: 138.1 kB / 421.2 MB, free: 16.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.2911, allocations: 0 / 421.2 MB, free: 16.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/0.2917, allocations: 84.8 kB / 421.3 MB, free: 16.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.292, allocations: 35.98 kB / 421.3 MB, free: 16.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/0.2962, allocations: 1.873 MB / 423.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.2966, allocations: 31.73 kB / 423.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.2967, allocations: 4 kB / 423.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2967, allocations: 4 kB / 423.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004996/0.2972, allocations: 172.9 kB / 423.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2972, allocations: 0 / 423.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/0.2974, allocations: 32.72 kB / 423.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.2977, allocations: 35.98 kB / 423.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.2988, allocations: 1.312 MB / 424.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.2991, allocations: 19.78 kB / 424.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.2991, allocations: 8 kB / 424.8 MB, free: 12.49 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: 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002641/0.2994, allocations: 216.9 kB / 425 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.303e-05/0.2995, allocations: 15.81 kB / 425 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.624e-05/0.2996, allocations: 29.58 kB / 425.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2996, allocations: 0 / 425.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.2996, allocations: 0 / 425.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2996, allocations: 0 / 425.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.3013, allocations: 0.6435 MB / 425.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.3014, allocations: 4 kB / 425.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.3016, allocations: 31.92 kB / 425.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005044/0.3021, allocations: 84.67 kB / 425.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.3022, allocations: 8 kB / 425.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003173/0.3053, allocations: 1.756 MB / 427.6 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3054, allocations: 0 / 427.6 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.3069, allocations: 455.9 kB / 428 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/0.307, allocations: 108.9 kB / 428.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.509e-05/0.307, allocations: 4 kB / 428.1 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.3074, allocations: 19.98 kB / 428.2 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.3075, allocations: 11.98 kB / 428.2 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.3075, allocations: 8.062 kB / 428.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000226/0.3077, allocations: 164.6 kB / 428.3 MB, free: 8.707 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.3078, allocations: 0 / 428.3 MB, free: 8.707 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009869/0.3088, allocations: 115.7 kB / 428.5 MB, free: 8.594 MB / 298.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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001885/0.309, allocations: 103.2 kB / 428.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.3108, allocations: 0.5479 MB / 429.1 MB, free: 7.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/0.3108, allocations: 0 / 429.1 MB, free: 7.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.3112, allocations: 207.3 kB / 429.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006708/0.3119, allocations: 42.12 kB / 429.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.3133, allocations: 0.6251 MB / 430 MB, free: 7.004 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.3136, allocations: 0.7443 MB / 430.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002116/0.3138, allocations: 25.94 kB / 430.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.3139, allocations: 15.44 kB / 430.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.3139, allocations: 0 / 430.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of Templates: time 0.01011/0.324, allocations: 2.858 MB / 433.6 MB, free: 3.34 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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.v_out,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