Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002/0.002, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002578/0.002578, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 61.33 kB / 348.5 MB, free: 9.484 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2976, allocations: 49.16 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003784/0.3014, allocations: 2.603 MB / 400.2 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3028, allocations: 0.7129 MB / 401 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.303, allocations: 7.656 kB / 401 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.3031, allocations: 45.23 kB / 401 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.3034, allocations: 79.64 kB / 401.1 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.3036, allocations: 93.3 kB / 401.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.304, allocations: 312.8 kB / 401.5 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.3041, allocations: 74.7 kB / 401.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.3043, allocations: 112.6 kB / 401.7 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.3045, allocations: 126.1 kB / 401.8 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/0.3045, allocations: 28.25 kB / 401.8 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.148e-05/0.3046, allocations: 24.94 kB / 401.8 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.3046, allocations: 61 kB / 401.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.3048, allocations: 128.6 kB / 402 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.3052, allocations: 290.2 kB / 402.3 MB, free: 6.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3052, allocations: 1.188 kB / 402.3 MB, free: 6.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3052, allocations: 4.562 kB / 402.3 MB, free: 6.465 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.3052, allocations: 0 / 402.3 MB, free: 6.465 MB / 318.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.0009438/0.3061, allocations: 0.4947 MB / 402.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3062, allocations: 14.05 kB / 402.8 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/0.3062, allocations: 27.27 kB / 402.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.3066, allocations: 196.8 kB / 403 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.3066, allocations: 22.14 kB / 403.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.3066, allocations: 18.88 kB / 403.1 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.3071, allocations: 240.2 kB / 403.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3071, allocations: 3.938 kB / 403.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.3071, allocations: 14.31 kB / 403.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3071, allocations: 5.875 kB / 403.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.3075, allocations: 187.1 kB / 403.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.3089, allocations: 0.855 MB / 404.4 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/0.3095, allocations: 201.5 kB / 404.6 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.3098, allocations: 117.4 kB / 404.7 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.3098, allocations: 6.281 kB / 404.7 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.3099, allocations: 37.69 kB / 404.7 MB, free: 4.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.3099, allocations: 4 kB / 404.7 MB, free: 4.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.00182/0.3117, allocations: 488.1 kB / 405.2 MB, free: 4.812 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.3117, allocations: 54 kB / 405.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.3119, allocations: 226.6 kB / 405.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3119, allocations: 27.17 kB / 405.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.312, allocations: 167.5 kB / 405.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.312, allocations: 58.09 kB / 405.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.3121, allocations: 43.88 kB / 405.8 MB, free: 4.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.721e-05/0.3122, allocations: 330.4 kB / 406.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.3123, allocations: 73.78 kB / 406.2 MB, free: 4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.3125, allocations: 112.5 kB / 406.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.3128, allocations: 183 kB / 406.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.3128, allocations: 1.5 kB / 406.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008109/0.3137, allocations: 344.8 kB / 406.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3137, allocations: 6.141 kB / 406.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3137, allocations: 2.531 kB / 406.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003715/0.3141, allocations: 76.33 kB / 406.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.3142, allocations: 45.53 kB / 406.9 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/0.3168, allocations: 1.917 MB / 408.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.317, allocations: 25.38 kB / 408.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.317, allocations: 9.438 kB / 408.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001462/0.3171, allocations: 143.7 kB / 409 MB, free: 1.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001114/0.3172, allocations: 108.3 kB / 409.1 MB, free: 1.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001652/0.3174, allocations: 149.3 kB / 409.3 MB, free: 1.785 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.3174, allocations: 7.938 kB / 409.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003314/0.3177, allocations: 215.6 kB / 409.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.3177, allocations: 5.5 kB / 409.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3178, allocations: 3.5 kB / 409.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.001e-05/0.3178, allocations: 25.41 kB / 409.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.318, allocations: 47.98 kB / 409.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007522/0.3188, allocations: 1.308 MB / 410.9 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.3189, allocations: 16.81 kB / 410.9 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3189, allocations: 5.469 kB / 410.9 MB, free: 344 kB / 318.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.0001262/0.319, allocations: 193.5 kB / 411.1 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.3191, allocations: 22.8 kB / 411.1 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.3191, allocations: 19.66 kB / 411.1 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3191, allocations: 6.219 kB / 411.1 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3191, allocations: 0 / 411.1 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3191, allocations: 6.609 kB / 411.1 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.3203, allocations: 0.5918 MB / 411.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3203, allocations: 0 / 411.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.3205, allocations: 30.33 kB / 411.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002709/0.3207, allocations: 78.56 kB / 411.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.3207, allocations: 6.562 kB / 411.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002586/0.3233, allocations: 1.812 MB / 413.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3233, allocations: 1.438 kB / 413.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009336/0.3243, allocations: 441.2 kB / 414.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.3243, allocations: 15.72 kB / 414.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.3243, allocations: 8.938 kB / 414.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.3245, allocations: 17.59 kB / 414.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.3246, allocations: 17.72 kB / 414.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.3246, allocations: 7.891 kB / 414.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.3248, allocations: 161.6 kB / 414.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3248, allocations: 0 / 414.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000643/0.3254, allocations: 117.9 kB / 414.4 MB, free: 13.78 MB / 334.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.0001523/0.3256, allocations: 99.77 kB / 414.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.3269, allocations: 0.5261 MB / 415 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3269, allocations: 1.469 kB / 415 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.3272, allocations: 199.8 kB / 415.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.3276, allocations: 42.66 kB / 415.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.3289, allocations: 0.5173 MB / 415.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.3293, allocations: 0.7537 MB / 416.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.3294, allocations: 20.81 kB / 416.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3294, allocations: 1.281 kB / 416.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of Templates: time 0.006758/0.3361, allocations: 3.532 MB / 420.1 MB, free: 10.26 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.704891262808815]