Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.001388/0.001388, allocations: 120.5 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.001703/0.001703, 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.622/1.622, allocations: 207.6 MB / 236 MB, free: 9.992 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") [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.002588/0.002588, allocations: 56.44 kB / 348.5 MB, free: 9.516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2785, allocations: 49.16 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004934/0.2834, allocations: 3.781 MB / 401.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.2863, allocations: 1.484 MB / 402.9 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004412/0.2867, allocations: 12.59 kB / 402.9 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.2887, allocations: 0.7703 MB / 403.7 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.2901, allocations: 407.8 kB / 404.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.2913, allocations: 0.5527 MB / 404.6 MB, free: 4.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008139/0.2921, allocations: 495.2 kB / 405.1 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007502/0.2929, allocations: 446.4 kB / 405.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.2933, allocations: 238.4 kB / 405.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003727/0.2937, allocations: 283.3 kB / 406 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.437e-05/0.2937, allocations: 46.53 kB / 406.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006509/0.2944, allocations: 217.7 kB / 406.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.756e-05/0.2945, allocations: 114.2 kB / 406.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.2947, allocations: 255.5 kB / 406.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.2959, allocations: 0.7215 MB / 407.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2959, allocations: 0 / 407.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2959, allocations: 0 / 407.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.2959, allocations: 1.094 kB / 407.4 MB, free: 3.352 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.002379/0.2983, allocations: 0.8748 MB / 408.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.2984, allocations: 13.2 kB / 408.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004238/0.3026, allocations: 0.5876 MB / 408.9 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000728/0.3033, allocations: 264 kB / 409.1 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.3034, allocations: 40.12 kB / 409.2 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.3035, allocations: 57.89 kB / 409.2 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.3046, allocations: 0.574 MB / 409.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.3046, allocations: 6.375 kB / 409.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/0.3047, allocations: 24.09 kB / 409.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.3047, allocations: 13.91 kB / 409.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.3059, allocations: 0.6436 MB / 410.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002911/0.3088, allocations: 1.821 MB / 412.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.3103, allocations: 0.6304 MB / 412.9 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/0.3107, allocations: 233.3 kB / 413.1 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.571e-05/0.3108, allocations: 9.469 kB / 413.2 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.3108, allocations: 41.31 kB / 413.2 MB, free: 180 kB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 3.216e-06/0.3108, allocations: 0 / 413.2 MB, free: 180 kB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001729/0.3126, allocations: 0.6783 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.3126, allocations: 64.56 kB / 413.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.3129, allocations: 201.3 kB / 414.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.3129, allocations: 35.08 kB / 414.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.3131, allocations: 243.4 kB / 414.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.3132, allocations: 182 kB / 414.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.3134, allocations: 92.44 kB / 414.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3136, allocations: 336.5 kB / 415 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.3139, allocations: 163.4 kB / 415.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.3143, allocations: 280 kB / 415.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008093/0.3151, allocations: 477.3 kB / 415.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3151, allocations: 5.344 kB / 415.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001209/0.3164, allocations: 0.5866 MB / 416.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.3164, allocations: 10.69 kB / 416.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3164, allocations: 4.344 kB / 416.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003751/0.3168, allocations: 83.66 kB / 416.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/0.3172, allocations: 116.9 kB / 416.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.3193, allocations: 1.673 MB / 418.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.3197, allocations: 52.28 kB / 418.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.733e-05/0.3197, allocations: 21.5 kB / 418.5 MB, free: 12.17 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002875/0.32, allocations: 175.2 kB / 418.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/0.3201, allocations: 41.25 kB / 418.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.3213, allocations: 0.5465 MB / 419.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.3213, allocations: 9.922 kB / 419.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3213, allocations: 1.312 kB / 419.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3213, allocations: 0 / 419.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.3233, allocations: 1.13 MB / 420.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3233, allocations: 1.188 kB / 420.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.3237, allocations: 83.08 kB / 420.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002882/0.3239, allocations: 80.88 kB / 420.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.324, allocations: 15.48 kB / 420.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.3259, allocations: 1.671 MB / 422.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3259, allocations: 1.094 kB / 422.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.3274, allocations: 0.8119 MB / 423 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/0.3274, allocations: 38.41 kB / 423 MB, free: 8.703 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.3275, allocations: 10.78 kB / 423.1 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.3277, allocations: 25.77 kB / 423.1 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.3278, allocations: 41.23 kB / 423.1 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.3279, allocations: 14.84 kB / 423.1 MB, free: 8.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001666/0.328, allocations: 147.4 kB / 423.3 MB, free: 8.539 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.328, allocations: 3.938 kB / 423.3 MB, free: 8.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006561/0.3287, allocations: 155 kB / 423.4 MB, free: 8.492 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (46): * Single equations (assignments): 45 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000286/0.329, allocations: 141.3 kB / 423.6 MB, free: 8.375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.3302, allocations: 0.5724 MB / 424.1 MB, free: 8.039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3302, allocations: 1.406 kB / 424.2 MB, free: 8.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006288/0.3309, allocations: 360.8 kB / 424.5 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.3312, allocations: 39.88 kB / 424.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.333, allocations: 0.8955 MB / 425.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/0.3335, allocations: 0.8172 MB / 426.3 MB, free: 5.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.3337, allocations: 43.42 kB / 426.3 MB, free: 5.949 MB / 334.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3337, allocations: 0 / 426.3 MB, free: 5.949 MB / 334.1 MB Notification: Performance of Templates: time 0.01078/0.3444, allocations: 6.705 MB / 433 MB, free: 15.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.734958912944421]