Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 103.5 kB / 20.43 MB, free: 1.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 180.1 kB / 23.7 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 51.92 kB / 370.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2438, allocations: 52.18 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008321/0.2521, allocations: 6.472 MB / 429.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.2649, allocations: 9.285 MB / 438.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.266, allocations: 126.6 kB / 438.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.2677, allocations: 0.6446 MB / 439.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003074/0.2708, allocations: 1.21 MB / 440.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.2723, allocations: 0.6566 MB / 441.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003541/0.2759, allocations: 2.555 MB / 444 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.2762, allocations: 176.3 kB / 444.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006572/0.2768, allocations: 0.5132 MB / 444.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006429/0.2775, allocations: 0.5043 MB / 445.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.2776, allocations: 52 kB / 445.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.279, allocations: 0.6908 MB / 445.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.2792, allocations: 182.8 kB / 446.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005282/0.2797, allocations: 0.5046 MB / 446.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.282, allocations: 1.976 MB / 448.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.282, allocations: 0 / 448.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.282, allocations: 0 / 448.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.282, allocations: 0 / 448.6 MB, free: 4.824 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002995/0.285, allocations: 1.975 MB / 450.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.285, allocations: 12.03 kB / 450.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.2853, allocations: 203.7 kB / 450.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.2874, allocations: 1.236 MB / 452 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.2874, allocations: 36.94 kB / 452.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.2875, allocations: 47.98 kB / 452.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000979/0.2885, allocations: 0.5119 MB / 452.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.2885, allocations: 3.938 kB / 452.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.2885, allocations: 16 kB / 452.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.2886, allocations: 19.98 kB / 452.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009716/0.2895, allocations: 480 kB / 453.1 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003337/0.2929, allocations: 1.867 MB / 455 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009815/0.2939, allocations: 0.5001 MB / 455.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000775/0.2946, allocations: 469.4 kB / 455.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006573/0.3012, allocations: 2.549 MB / 458.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006002/0.3018, allocations: 294.1 kB / 458.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=55): time 2.515e-06/0.3018, allocations: 0 / 458.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.003903/0.3057, allocations: 1.893 MB / 460.7 MB, free: 8.496 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.3058, allocations: 59.78 kB / 460.7 MB, free: 8.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.3074, allocations: 1.304 MB / 462 MB, free: 7.125 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.3075, allocations: 37.7 kB / 462.1 MB, free: 7.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007258/0.3082, allocations: 0.7234 MB / 462.8 MB, free: 6.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.3084, allocations: 202.2 kB / 463 MB, free: 6.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.3086, allocations: 130.3 kB / 463.1 MB, free: 6.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3088, allocations: 330 kB / 463.4 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.3092, allocations: 197.6 kB / 463.6 MB, free: 5.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/0.3098, allocations: 363.8 kB / 464 MB, free: 5.078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.3109, allocations: 0.5998 MB / 464.6 MB, free: 4.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3109, allocations: 3.938 kB / 464.6 MB, free: 4.402 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001704/0.3126, allocations: 0.9207 MB / 465.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.3126, allocations: 10.12 kB / 465.5 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.634e-05/0.3127, allocations: 60 kB / 465.6 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004474/0.3132, allocations: 157.4 kB / 465.7 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.3136, allocations: 111.8 kB / 465.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/0.3167, allocations: 2.363 MB / 468.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.3172, allocations: 32.03 kB / 468.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/0.3173, allocations: 32 kB / 468.3 MB, free: 0.6172 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004377/0.3177, allocations: 275.3 kB / 468.5 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.3179, allocations: 194.8 kB / 468.7 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/0.3197, allocations: 0.8815 MB / 469.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.3198, allocations: 8 kB / 469.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3198, allocations: 0 / 469.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3198, allocations: 4 kB / 469.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009248/0.3207, allocations: 0.7138 MB / 470.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.417e-05/0.3208, allocations: 52 kB / 470.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.3211, allocations: 63.89 kB / 470.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003791/0.3215, allocations: 152.7 kB / 470.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.3215, allocations: 15.94 kB / 470.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002832/0.3243, allocations: 2.344 MB / 473 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3243, allocations: 0 / 473 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.3263, allocations: 1.069 MB / 474 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/0.3267, allocations: 174.9 kB / 474.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.3269, allocations: 15.94 kB / 474.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.3272, allocations: 15.98 kB / 474.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.3274, allocations: 48.36 kB / 474.3 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.3274, allocations: 23.98 kB / 474.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001121/0.3285, allocations: 0.8578 MB / 475.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3285, allocations: 0 / 475.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009634/0.3295, allocations: 383.2 kB / 475.5 MB, free: 9.184 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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 {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007319/0.3302, allocations: 455.6 kB / 476 MB, free: 8.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.3318, allocations: 0.8082 MB / 476.8 MB, free: 7.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3318, allocations: 0 / 476.8 MB, free: 7.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009921/0.3328, allocations: 0.5596 MB / 477.4 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008355/0.3337, allocations: 210.3 kB / 477.6 MB, free: 7.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.3375, allocations: 2.43 MB / 480 MB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.3381, allocations: 0.5875 MB / 480.6 MB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004863/0.3386, allocations: 187.2 kB / 480.8 MB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.3387, allocations: 83.44 kB / 480.8 MB, free: 3.742 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3387, allocations: 0 / 480.8 MB, free: 3.742 MB / 382.1 MB Notification: Performance of Templates: time 0.02972/0.3684, allocations: 15.64 MB / 496.5 MB, free: 4.203 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.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: 4.984569165855646]