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.0009995/0.0009995, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009916/0.0009916, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9343/0.9343, allocations: 177 MB / 204.8 MB, free: 5.582 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.149e-05, allocations: 2.312 kB / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.004496/0.004527, allocations: 2.664 MB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.006023, allocations: 0.6621 MB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.00624, allocations: 7.938 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.006415, allocations: 43.56 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.006764, allocations: 95.2 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.006955, allocations: 71.83 kB / 276.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.007351, allocations: 326.4 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.00755, allocations: 69.06 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.007803, allocations: 171.6 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.007995, allocations: 95.7 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.008045, allocations: 24 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.385e-05/0.008089, allocations: 24 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.008142, allocations: 63.75 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.008247, allocations: 103.7 kB / 277.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.008537, allocations: 195.3 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.00854, allocations: 0 / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.008541, allocations: 0 / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.008548, allocations: 0 / 277.5 MB, free: 12.8 MB / 266.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.0007379/0.009286, allocations: 0.5818 MB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.009325, allocations: 19.97 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.792e-05/0.009402, allocations: 52.69 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.009643, allocations: 208.2 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.009658, allocations: 16.88 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.009694, allocations: 24.38 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.009952, allocations: 271.5 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.009959, allocations: 4.125 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.009977, allocations: 12.38 kB / 278.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.009986, allocations: 11.94 kB / 278.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.01012, allocations: 98.88 kB / 278.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000935/0.01106, allocations: 0.8002 MB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.01135, allocations: 177.7 kB / 279.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.0115, allocations: 91.62 kB / 279.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.01152, allocations: 4 kB / 279.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.01155, allocations: 37.39 kB / 279.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.01155, allocations: 4 kB / 279.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003798/0.01193, allocations: 213.5 kB / 280.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.01196, allocations: 51.41 kB / 280.2 MB, free: 9.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.01211, allocations: 262.7 kB / 280.4 MB, free: 9.672 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.01212, allocations: 29.7 kB / 280.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.01221, allocations: 218.9 kB / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.01224, allocations: 75.42 kB / 280.8 MB, free: 9.344 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.789e-05/0.01232, allocations: 55.31 kB / 280.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003651/0.01269, allocations: 0.5001 MB / 281.3 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.308e-05/0.01276, allocations: 31.98 kB / 281.3 MB, free: 8.738 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.01287, allocations: 113.7 kB / 281.5 MB, free: 8.598 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.01305, allocations: 145.7 kB / 281.6 MB, free: 8.426 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.01306, allocations: 8 kB / 281.6 MB, free: 8.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003164/0.01338, allocations: 214.3 kB / 281.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01339, allocations: 4 kB / 281.8 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.01339, allocations: 0 / 281.8 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.01359, allocations: 47.58 kB / 281.9 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.01375, allocations: 56.09 kB / 281.9 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009111/0.01466, allocations: 1.768 MB / 283.7 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.01477, allocations: 23.81 kB / 283.7 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.01478, allocations: 8 kB / 283.7 MB, free: 6.164 MB / 266.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 9.903e-05/0.01488, allocations: 168.5 kB / 283.9 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.01492, allocations: 35.89 kB / 283.9 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.01495, allocations: 25.8 kB / 283.9 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01496, allocations: 7.938 kB / 284 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01496, allocations: 0 / 284 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01496, allocations: 0 / 284 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.01552, allocations: 0.5007 MB / 284.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01552, allocations: 0 / 284.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.01565, allocations: 35.92 kB / 284.5 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.01576, allocations: 43.81 kB / 284.5 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.01577, allocations: 4 kB / 284.5 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007734/0.01654, allocations: 1.756 MB / 286.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.01654, allocations: 3.938 kB / 286.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.01685, allocations: 351.5 kB / 286.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.617e-05/0.01688, allocations: 31.83 kB / 286.7 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.0169, allocations: 4 kB / 286.7 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.01702, allocations: 19.98 kB / 286.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.01706, allocations: 11.97 kB / 286.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.01707, allocations: 8 kB / 286.7 MB, free: 2.949 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.01718, allocations: 185.4 kB / 286.9 MB, free: 2.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01718, allocations: 0 / 286.9 MB, free: 2.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003179/0.01749, allocations: 71.84 kB / 287 MB, free: 2.699 MB / 266.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.0001077/0.0176, allocations: 107.2 kB / 287.1 MB, free: 2.586 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003442/0.01795, allocations: 293.2 kB / 287.4 MB, free: 2.281 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01795, allocations: 0 / 287.4 MB, free: 2.281 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.01811, allocations: 249.3 kB / 287.6 MB, free: 2.016 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.01844, allocations: 44.34 kB / 287.6 MB, free: 1.973 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.0198, allocations: 0.5601 MB / 288.2 MB, free: 1.383 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.918e-05/0.01986, allocations: 80.56 kB / 288.3 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.152e-05/0.01993, allocations: 21.94 kB / 288.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.01998, allocations: 24.5 kB / 288.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01998, allocations: 3.938 kB / 288.3 MB, free: 1.238 MB / 266.7 MB Notification: Performance of Templates: time 0.005168/0.02515, allocations: 2.492 MB / 290.8 MB, free: 14.78 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8922871160320938]