Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.001435/0.001435, allocations: 112.2 kB / 21.94 MB, free: 12 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.0016/0.0016, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.465/1.465, allocations: 207.6 MB / 236 MB, free: 10.87 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.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") translateModel(Modelica.Electrical.Spice3.Examples.CoupledInductors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|L1.iinternal|L2.iinternal|L3.iinternal",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors") [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.002016/0.002016, allocations: 59.91 kB / 348.4 MB, free: 9.641 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2892, allocations: 49.16 MB / 397.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003522/0.2927, allocations: 2.794 MB / 400.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.2941, allocations: 0.7597 MB / 401.2 MB, free: 7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.2942, allocations: 6.219 kB / 401.2 MB, free: 7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.2944, allocations: 66.5 kB / 401.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.2946, allocations: 88.83 kB / 401.3 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.2949, allocations: 124.3 kB / 401.4 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004455/0.2954, allocations: 432.4 kB / 401.9 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.2957, allocations: 182.5 kB / 402 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.2959, allocations: 181 kB / 402.2 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.2962, allocations: 202 kB / 402.4 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.045e-05/0.2962, allocations: 45.91 kB / 402.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.369e-05/0.2963, allocations: 45.28 kB / 402.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.955e-05/0.2964, allocations: 100.4 kB / 402.6 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.2966, allocations: 213.8 kB / 402.8 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005612/0.2972, allocations: 0.4963 MB / 403.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.2972, allocations: 0.6562 kB / 403.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2972, allocations: 0 / 403.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.2972, allocations: 1.125 kB / 403.3 MB, free: 5.906 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001031/0.2982, allocations: 0.6131 MB / 403.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2982, allocations: 17.27 kB / 403.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.664e-05/0.2983, allocations: 56.5 kB / 404 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.2986, allocations: 226.4 kB / 404.2 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.2986, allocations: 34.47 kB / 404.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/0.2987, allocations: 39.28 kB / 404.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/0.2993, allocations: 450.3 kB / 404.7 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.2993, allocations: 0.8438 kB / 404.7 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.2993, allocations: 20.5 kB / 404.7 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.2994, allocations: 10.75 kB / 404.7 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/0.2999, allocations: 284.6 kB / 405 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.3016, allocations: 1.239 MB / 406.3 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.302, allocations: 219.6 kB / 406.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.3024, allocations: 180.6 kB / 406.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.3024, allocations: 3.406 kB / 406.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.3024, allocations: 33.31 kB / 406.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.402e-06/0.3024, allocations: 0 / 406.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001353/0.3038, allocations: 480.8 kB / 407.2 MB, free: 3.641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.3039, allocations: 238 kB / 407.4 MB, free: 3.359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.304, allocations: 215.5 kB / 407.6 MB, free: 3.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.3041, allocations: 32.52 kB / 407.6 MB, free: 3.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.3042, allocations: 199.9 kB / 407.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.3042, allocations: 109 kB / 407.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.529e-05/0.3043, allocations: 58.53 kB / 408 MB, free: 2.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.332e-05/0.3044, allocations: 336 kB / 408.3 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.3045, allocations: 76 kB / 408.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.3047, allocations: 157.5 kB / 408.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007939/0.3055, allocations: 378.2 kB / 408.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3055, allocations: 1.375 kB / 408.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004026/0.3059, allocations: 279.6 kB / 409.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3059, allocations: 5.5 kB / 409.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3059, allocations: 1.375 kB / 409.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3059, allocations: 1.375 kB / 409.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.3063, allocations: 82.53 kB / 409.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.3063, allocations: 10.03 kB / 409.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.3065, allocations: 37.02 kB / 409.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.3065, allocations: 10.88 kB / 409.3 MB, free: 2.086 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real C1.vinternal:VARIABLE(unit = \"V\" fixed = true protected = true ) \"Capacitor voltage\" type: Real 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002504/0.3067, allocations: 158.6 kB / 409.5 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.3068, allocations: 28.38 kB / 409.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.3068, allocations: 30.83 kB / 409.6 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3068, allocations: 1.562 kB / 409.6 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.3069, allocations: 6.594 kB / 409.6 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.3069, allocations: 2.016 kB / 409.6 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.3079, allocations: 0.7338 MB / 410.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3079, allocations: 1.719 kB / 410.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.3081, allocations: 51.3 kB / 410.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002894/0.3084, allocations: 94.58 kB / 410.4 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3084, allocations: 11.02 kB / 410.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.3102, allocations: 1.874 MB / 412.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3102, allocations: 1.797 kB / 412.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.3111, allocations: 0.5023 MB / 412.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.3112, allocations: 29.28 kB / 412.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.3112, allocations: 12.69 kB / 412.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.3114, allocations: 10.91 kB / 412.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.3114, allocations: 25.52 kB / 412.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3115, allocations: 5.453 kB / 412.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.3116, allocations: 154.8 kB / 413.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3116, allocations: 5 kB / 413.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004404/0.3121, allocations: 109.1 kB / 413.2 MB, free: 15.33 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * 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 (18): * Single equations (assignments): 17 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001651/0.3122, allocations: 99.41 kB / 413.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004677/0.3127, allocations: 200.3 kB / 413.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3127, allocations: 0 / 413.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.3132, allocations: 267.1 kB / 413.7 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.3135, allocations: 22.7 kB / 413.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.3151, allocations: 0.8785 MB / 414.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.3156, allocations: 0.7878 MB / 415.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.487e-05/0.3156, allocations: 25.2 kB / 415.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3156, allocations: 4 kB / 415.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of Templates: time 0.007329/0.323, allocations: 3.989 MB / 419.4 MB, free: 11.48 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.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.443620481994003]