Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.001407/0.001407, allocations: 109.4 kB / 21.93 MB, free: 5.223 MB / 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.001456/0.001456, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.489/1.489, allocations: 207.7 MB / 236.1 MB, free: 9.801 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.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=628,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") [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.002094/0.002094, allocations: 51.92 kB / 348.4 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2911, allocations: 49.16 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003002/0.2941, allocations: 1.916 MB / 399.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009813/0.2951, allocations: 0.5798 MB / 400.1 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.023e-05/0.2952, allocations: 1.75 kB / 400.1 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.915e-05/0.2952, allocations: 20.91 kB / 400.1 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.2954, allocations: 48 kB / 400.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.2957, allocations: 90.59 kB / 400.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.2959, allocations: 181.9 kB / 400.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.296, allocations: 39.22 kB / 400.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.2962, allocations: 87.83 kB / 400.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.2963, allocations: 61.44 kB / 400.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.2963, allocations: 15.53 kB / 400.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.516e-05/0.2963, allocations: 14.88 kB / 400.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.312e-05/0.2964, allocations: 44.3 kB / 400.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.99e-05/0.2964, allocations: 66.78 kB / 400.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.2967, allocations: 168.4 kB / 400.9 MB, free: 7.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2967, allocations: 1.359 kB / 400.9 MB, free: 7.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2967, allocations: 3.938 kB / 400.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.2967, allocations: 0 / 400.9 MB, free: 7.297 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007274/0.2974, allocations: 407.9 kB / 401.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2975, allocations: 13.69 kB / 401.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.2975, allocations: 16.06 kB / 401.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2977, allocations: 145.8 kB / 401.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.2977, allocations: 9.875 kB / 401.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.2977, allocations: 10.42 kB / 401.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.298, allocations: 206.1 kB / 401.7 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.2981, allocations: 4 kB / 401.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.2981, allocations: 5.531 kB / 401.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2981, allocations: 2.312 kB / 401.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.2983, allocations: 95.95 kB / 401.8 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008141/0.2992, allocations: 424.9 kB / 402.2 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.2994, allocations: 100.2 kB / 402.3 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.2996, allocations: 63.58 kB / 402.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.2997, allocations: 5.406 kB / 402.4 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.2997, allocations: 37.09 kB / 402.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2997, allocations: 0 / 402.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004542/0.3001, allocations: 142.4 kB / 402.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.3002, allocations: 108.9 kB / 402.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3003, allocations: 161.1 kB / 402.8 MB, free: 5.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.3003, allocations: 25.7 kB / 402.9 MB, free: 5.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.3004, allocations: 125.3 kB / 403 MB, free: 5.699 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.3004, allocations: 33.88 kB / 403 MB, free: 5.672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.3005, allocations: 31.56 kB / 403.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.3005, allocations: 321.2 kB / 403.4 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.3006, allocations: 40.17 kB / 403.4 MB, free: 5.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.3008, allocations: 134.2 kB / 403.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.301, allocations: 98 kB / 403.6 MB, free: 5.148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.301, allocations: 0.6094 kB / 403.6 MB, free: 5.148 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003032/0.3013, allocations: 141.6 kB / 403.8 MB, free: 5.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3014, allocations: 5.922 kB / 403.8 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3014, allocations: 5.5 kB / 403.8 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3014, allocations: 1.5 kB / 403.8 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.3019, allocations: 83.73 kB / 403.9 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.303, allocations: 1.379 MB / 405.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.3032, allocations: 19.36 kB / 405.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.3032, allocations: 4.062 kB / 405.3 MB, free: 3.711 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.288e-05/0.3033, allocations: 129.2 kB / 405.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.3033, allocations: 14.14 kB / 405.4 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.3037, allocations: 156.2 kB / 405.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3037, allocations: 5 kB / 405.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3037, allocations: 2.156 kB / 405.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3037, allocations: 4 kB / 405.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006052/0.3043, allocations: 389 kB / 406 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3043, allocations: 0 / 406 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.3045, allocations: 23.92 kB / 406 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/0.3047, allocations: 36.42 kB / 406 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3047, allocations: 12.47 kB / 406 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007527/0.3054, allocations: 1.263 MB / 407.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.3054, allocations: 2.062 kB / 407.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005469/0.306, allocations: 299.7 kB / 407.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.306, allocations: 9.938 kB / 407.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.306, allocations: 1.031 kB / 407.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.3062, allocations: 18.95 kB / 407.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.3062, allocations: 15.25 kB / 407.6 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.3062, allocations: 6.516 kB / 407.6 MB, free: 1.688 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.546e-05/0.3063, allocations: 121.8 kB / 407.8 MB, free: 1.598 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3063, allocations: 0 / 407.8 MB, free: 1.598 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.3066, allocations: 44.8 kB / 407.8 MB, free: 1.586 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * 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 (7): * Single equations (assignments): 6 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 9.747e-05/0.3067, allocations: 96 kB / 407.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006782/0.3074, allocations: 137.5 kB / 408 MB, free: 1.469 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3074, allocations: 0 / 408 MB, free: 1.469 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.3077, allocations: 158.6 kB / 408.2 MB, free: 1.348 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.308, allocations: 9.484 kB / 408.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.3094, allocations: 0.5728 MB / 408.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.662e-05/0.3095, allocations: 95.84 kB / 408.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.3096, allocations: 16 kB / 408.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3096, allocations: 0 / 408.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of Templates: time 0.004685/0.3143, allocations: 2.29 MB / 411.2 MB, free: 396 kB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.304262940771878]