Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.001386/0.001386, allocations: 107.6 kB / 21.18 MB, free: 452 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.001461/0.001461, allocations: 216.1 kB / 24.47 MB, free: 3.777 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.409/1.409, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") [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.001892/0.001892, allocations: 48.39 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2963, allocations: 49.16 MB / 396.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005047/0.3013, allocations: 3.423 MB / 400.3 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.3038, allocations: 1.383 MB / 401.7 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.304, allocations: 8.656 kB / 401.7 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.3059, allocations: 0.7027 MB / 402.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009647/0.3069, allocations: 399.9 kB / 402.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.3079, allocations: 0.5211 MB / 403.3 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005005/0.3084, allocations: 492.1 kB / 403.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005948/0.309, allocations: 360.3 kB / 404.1 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.3093, allocations: 225.3 kB / 404.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.3096, allocations: 246.6 kB / 404.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.462e-05/0.3097, allocations: 46.94 kB / 404.6 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004324/0.3101, allocations: 197.7 kB / 404.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.013e-05/0.3102, allocations: 114 kB / 404.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.3104, allocations: 199.2 kB / 405.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009052/0.3113, allocations: 0.7114 MB / 405.8 MB, free: 4.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3113, allocations: 0 / 405.8 MB, free: 4.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3113, allocations: 0 / 405.8 MB, free: 4.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.3113, allocations: 0 / 405.8 MB, free: 4.008 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002077/0.3134, allocations: 0.8708 MB / 406.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3134, allocations: 18.33 kB / 406.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004171/0.3176, allocations: 0.5872 MB / 407.3 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.3181, allocations: 254.9 kB / 407.6 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.3182, allocations: 44.66 kB / 407.6 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.3183, allocations: 57.41 kB / 407.7 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.3194, allocations: 0.5861 MB / 408.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.3194, allocations: 5.062 kB / 408.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.977e-05/0.3195, allocations: 25.38 kB / 408.3 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.3195, allocations: 13.59 kB / 408.3 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.3208, allocations: 0.6244 MB / 408.9 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.3236, allocations: 1.576 MB / 410.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.3252, allocations: 0.6339 MB / 411.1 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.3256, allocations: 194.5 kB / 411.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.945e-05/0.3256, allocations: 18.14 kB / 411.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.3257, allocations: 38.44 kB / 411.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.224e-06/0.3257, allocations: 0 / 411.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.002044/0.3277, allocations: 0.7164 MB / 412.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.3277, allocations: 57.53 kB / 412.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.3279, allocations: 193.5 kB / 412.3 MB, free: 444 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.3279, allocations: 36.7 kB / 412.4 MB, free: 404 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.328, allocations: 246.7 kB / 412.6 MB, free: 172 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.3281, allocations: 174.4 kB / 412.8 MB, free: 16 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.3283, allocations: 96.38 kB / 412.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3285, allocations: 333.2 kB / 413.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.3289, allocations: 163 kB / 413.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/0.3293, allocations: 277.1 kB / 413.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008247/0.3301, allocations: 462 kB / 414.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3301, allocations: 1.156 kB / 414.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001223/0.3314, allocations: 0.5842 MB / 414.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.3314, allocations: 6.5 kB / 414.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.3314, allocations: 2.219 kB / 414.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004108/0.3318, allocations: 97.2 kB / 414.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.3323, allocations: 105.6 kB / 414.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.3348, allocations: 1.9 MB / 416.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.3351, allocations: 59.64 kB / 416.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.3352, allocations: 24 kB / 416.8 MB, free: 12.88 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000258/0.3355, allocations: 167.3 kB / 417 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.727e-05/0.3355, allocations: 24.61 kB / 417 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.3367, allocations: 0.5496 MB / 417.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.3367, allocations: 9.234 kB / 417.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.515e-06/0.3367, allocations: 10.02 kB / 417.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3368, allocations: 4 kB / 417.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.3384, allocations: 0.9742 MB / 418.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3384, allocations: 192 / 418.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.3388, allocations: 80.2 kB / 418.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002812/0.3391, allocations: 89.16 kB / 418.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.3391, allocations: 11.72 kB / 418.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.3414, allocations: 1.896 MB / 420.6 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3414, allocations: 0 / 420.6 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.3429, allocations: 0.8047 MB / 421.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.343, allocations: 33.91 kB / 421.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.343, allocations: 10.19 kB / 421.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.3433, allocations: 21.14 kB / 421.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.559e-05/0.3434, allocations: 40.73 kB / 421.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.3434, allocations: 10.91 kB / 421.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.3436, allocations: 144.3 kB / 421.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3436, allocations: 0 / 421.7 MB, free: 9.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006988/0.3443, allocations: 152.6 kB / 421.9 MB, free: 9.207 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (44): * Single equations (assignments): 43 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002623/0.3445, allocations: 136.3 kB / 422 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.3458, allocations: 0.5675 MB / 422.6 MB, free: 8.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3458, allocations: 0 / 422.6 MB, free: 8.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.3465, allocations: 355.2 kB / 422.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.3468, allocations: 49.22 kB / 423 MB, free: 8.492 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.3485, allocations: 0.8531 MB / 423.8 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.3487, allocations: 221.1 kB / 424 MB, free: 7.371 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.3489, allocations: 50.95 kB / 424.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.425e-05/0.349, allocations: 31.44 kB / 424.1 MB, free: 7.289 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.349, allocations: 0 / 424.1 MB, free: 7.289 MB / 334.1 MB Notification: Performance of Templates: time 0.0108/0.3598, allocations: 4.707 MB / 428.8 MB, free: 2.574 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.737079311162233]