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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009123/0.0009123, allocations: 93.91 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 202.2 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.7 MB / 247.5 MB, free: 10.96 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002484/0.0002482, allocations: 8.281 kB / 308.4 MB, free: 0.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09781/0.09807, allocations: 51.52 MB / 359.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002936/0.1011, allocations: 2.297 MB / 362.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1025, allocations: 0.6819 MB / 362.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002588/0.1028, allocations: 7.938 kB / 362.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.103, allocations: 35.77 kB / 362.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.1034, allocations: 71.45 kB / 363 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.1036, allocations: 71.91 kB / 363.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.1041, allocations: 302.6 kB / 363.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.1043, allocations: 81.5 kB / 363.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1045, allocations: 91.64 kB / 363.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.1046, allocations: 119.4 kB / 363.7 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.1047, allocations: 12 kB / 363.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.762e-05/0.1047, allocations: 15.94 kB / 363.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.1048, allocations: 43.83 kB / 363.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.1049, allocations: 149 kB / 363.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.1051, allocations: 207.7 kB / 364.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1052, allocations: 0 / 364.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1052, allocations: 0 / 364.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1052, allocations: 4 kB / 364.1 MB, free: 9.035 MB / 302.1 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.0009201/0.1061, allocations: 0.5247 MB / 364.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1062, allocations: 8.031 kB / 364.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.397e-05/0.1063, allocations: 28.66 kB / 364.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.1066, allocations: 255.8 kB / 364.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.1066, allocations: 20.94 kB / 364.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.1067, allocations: 20.38 kB / 364.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.1072, allocations: 237.1 kB / 365.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1072, allocations: 0 / 365.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.1072, allocations: 12 kB / 365.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.1073, allocations: 8 kB / 365.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.1077, allocations: 190.2 kB / 365.4 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.1092, allocations: 0.9162 MB / 366.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/0.1099, allocations: 214.7 kB / 366.5 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.1102, allocations: 136.7 kB / 366.6 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1102, allocations: 4 kB / 366.6 MB, free: 6.309 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.1103, allocations: 30.56 kB / 366.7 MB, free: 6.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 3.286e-06/0.1103, allocations: 0 / 366.7 MB, free: 6.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001911/0.1122, allocations: 0.6006 MB / 367.3 MB, free: 5.641 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.1122, allocations: 55.34 kB / 367.3 MB, free: 5.574 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.1125, allocations: 235 kB / 367.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.1125, allocations: 29.7 kB / 367.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1127, allocations: 163.8 kB / 367.7 MB, free: 5.133 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.1127, allocations: 59.23 kB / 367.8 MB, free: 5.074 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.1128, allocations: 21.72 kB / 367.8 MB, free: 5.047 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1129, allocations: 334.8 kB / 368.1 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.1131, allocations: 63.97 kB / 368.2 MB, free: 4.648 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.1133, allocations: 115.1 kB / 368.3 MB, free: 4.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.1137, allocations: 193.8 kB / 368.5 MB, free: 4.305 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1137, allocations: 0 / 368.5 MB, free: 4.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000909/0.1146, allocations: 353.2 kB / 368.9 MB, free: 3.953 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-05/0.1147, allocations: 138.1 kB / 369 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1147, allocations: 0 / 369 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003878/0.1151, allocations: 84.8 kB / 369.1 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.1153, allocations: 39.97 kB / 369.1 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/0.1182, allocations: 1.877 MB / 371 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.1183, allocations: 23.88 kB / 371 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.1184, allocations: 8 kB / 371 MB, free: 1.613 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.1184, allocations: 4 kB / 371 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000328/0.1187, allocations: 176.6 kB / 371.2 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1187, allocations: 4 kB / 371.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.908e-05/0.1188, allocations: 24.8 kB / 371.2 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.119, allocations: 43.97 kB / 371.3 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1714/0.2904, allocations: 1.3 MB / 372.6 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.2906, allocations: 16.53 kB / 372.6 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.2906, allocations: 9.188 kB / 372.6 MB, free: 18.63 MB / 302.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: 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.0001699/0.2908, allocations: 215.1 kB / 372.8 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.2909, allocations: 22.61 kB / 372.8 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.387e-05/0.291, allocations: 23.09 kB / 372.8 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.291, allocations: 1.969 kB / 372.9 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.291, allocations: 2.875 kB / 372.9 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.291, allocations: 3.734 kB / 372.9 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.2924, allocations: 0.635 MB / 373.5 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2924, allocations: 0.7969 kB / 373.5 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.2925, allocations: 29 kB / 373.5 MB, free: 18.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/0.2928, allocations: 80.81 kB / 373.6 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.2929, allocations: 4.188 kB / 373.6 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.2952, allocations: 1.772 MB / 375.4 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2952, allocations: 1.312 kB / 375.4 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.2963, allocations: 452.6 kB / 375.8 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.138e-05/0.2964, allocations: 97.55 kB / 375.9 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.2965, allocations: 7.578 kB / 375.9 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.2967, allocations: 25.62 kB / 375.9 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.2968, allocations: 9.625 kB / 376 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.2968, allocations: 4.875 kB / 376 MB, free: 16.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.297, allocations: 166.2 kB / 376.1 MB, free: 16.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.297, allocations: 3.375 kB / 376.1 MB, free: 16.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007122/0.2977, allocations: 115.3 kB / 376.2 MB, free: 16.48 MB / 302.1 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.0001468/0.2979, allocations: 98.38 kB / 376.3 MB, free: 16.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.2991, allocations: 0.5522 MB / 376.9 MB, free: 16.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/0.2992, allocations: 5.344 kB / 376.9 MB, free: 16.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.2995, allocations: 209.1 kB / 377.1 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.2999, allocations: 34.55 kB / 377.1 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009936/0.3009, allocations: 0.6546 MB / 377.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.3011, allocations: 0.7433 MB / 378.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.3012, allocations: 19.34 kB / 378.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3012, allocations: 4 kB / 378.6 MB, free: 14.96 MB / 302.1 MB Notification: Performance of Templates: time 0.007231/0.3084, allocations: 3.48 MB / 382 MB, free: 14.76 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches