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.001419/0.001419, allocations: 112.4 kB / 21.93 MB, free: 5.219 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.001485/0.001485, 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.469/1.469, allocations: 207.7 MB / 236.1 MB, free: 9.812 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.001838/0.001838, allocations: 57.48 kB / 348.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2973, allocations: 49.16 MB / 397.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.004361/0.3017, allocations: 2.518 MB / 400.1 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.3034, allocations: 0.7301 MB / 400.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004075/0.3038, allocations: 5.219 kB / 400.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.3041, allocations: 63.64 kB / 400.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004751/0.3046, allocations: 97.73 kB / 401 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005704/0.3051, allocations: 117 kB / 401.1 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007055/0.3058, allocations: 440.9 kB / 401.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.3062, allocations: 172.8 kB / 401.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.3066, allocations: 172.9 kB / 401.9 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004286/0.307, allocations: 174 kB / 402.1 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.3072, allocations: 46.34 kB / 402.1 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.3074, allocations: 44.84 kB / 402.1 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.3075, allocations: 96.64 kB / 402.2 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000381/0.3079, allocations: 181.7 kB / 402.4 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007866/0.3087, allocations: 0.4984 MB / 402.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3087, allocations: 0 / 402.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3087, allocations: 0 / 402.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.3087, allocations: 0 / 402.9 MB, free: 6.164 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.001084/0.3098, allocations: 0.6284 MB / 403.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.3098, allocations: 13.33 kB / 403.6 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.421e-05/0.3099, allocations: 43.11 kB / 403.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.3102, allocations: 221 kB / 403.8 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.3103, allocations: 34.12 kB / 403.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.053e-05/0.3103, allocations: 43.75 kB / 403.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007334/0.3111, allocations: 0.6237 MB / 404.5 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.3111, allocations: 3.938 kB / 404.5 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.3111, allocations: 16.72 kB / 404.5 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.3112, allocations: 10.67 kB / 404.5 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/0.3117, allocations: 279.6 kB / 404.8 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.3133, allocations: 1.08 MB / 405.9 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.3138, allocations: 222.4 kB / 406.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.3141, allocations: 172.9 kB / 406.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3142, allocations: 3.75 kB / 406.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.3142, allocations: 37.16 kB / 406.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.874e-06/0.3142, allocations: 1.25 kB / 406.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001342/0.3155, allocations: 470.5 kB / 406.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.3156, allocations: 238.1 kB / 407 MB, free: 3.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.3158, allocations: 177.7 kB / 407.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3158, allocations: 32.45 kB / 407.2 MB, free: 3.316 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3159, allocations: 206.3 kB / 407.4 MB, free: 3.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.3159, allocations: 107.6 kB / 407.5 MB, free: 3.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.585e-05/0.316, allocations: 67.33 kB / 407.6 MB, free: 3.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.3161, allocations: 334.8 kB / 407.9 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.3162, allocations: 76.88 kB / 408 MB, free: 2.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.3165, allocations: 335.1 kB / 408.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008457/0.3173, allocations: 380.7 kB / 408.7 MB, free: 2.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3173, allocations: 7.938 kB / 408.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004656/0.3178, allocations: 274.5 kB / 409 MB, free: 2.039 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.3178, allocations: 9.938 kB / 409 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3178, allocations: 0 / 409 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.3178, allocations: 3.031 kB / 409 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.3182, allocations: 81.92 kB / 409.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.3182, allocations: 1.375 kB / 409.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.3183, allocations: 23.86 kB / 409.1 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.3184, allocations: 17.05 kB / 409.1 MB, free: 2.008 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.0002606/0.3186, allocations: 161.5 kB / 409.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.3187, allocations: 26.75 kB / 409.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.209e-05/0.3187, allocations: 28.95 kB / 409.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3187, allocations: 3.656 kB / 409.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.3188, allocations: 2.094 kB / 409.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3188, allocations: 1.594 kB / 409.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009304/0.3197, allocations: 0.6548 MB / 410 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3197, allocations: 0 / 410 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.3199, allocations: 51.25 kB / 410 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002864/0.3202, allocations: 87.31 kB / 410.1 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.3202, allocations: 6.641 kB / 410.1 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.322, allocations: 1.834 MB / 412 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.322, allocations: 1.156 kB / 412 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000835/0.3228, allocations: 0.4955 MB / 412.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.3229, allocations: 24.7 kB / 412.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.3229, allocations: 11.48 kB / 412.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.3231, allocations: 16.86 kB / 412.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.3232, allocations: 24.19 kB / 412.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.3232, allocations: 10.34 kB / 412.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.3234, allocations: 133.2 kB / 412.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3234, allocations: 0 / 412.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.3238, allocations: 106.2 kB / 412.8 MB, free: 15.36 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.0001361/0.3239, allocations: 107.8 kB / 412.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004458/0.3244, allocations: 195.8 kB / 413.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3244, allocations: 0 / 413.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004754/0.3248, allocations: 266.9 kB / 413.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.3252, allocations: 33.81 kB / 413.4 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.3267, allocations: 0.874 MB / 414.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.327, allocations: 179.2 kB / 414.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.327, allocations: 26.12 kB / 414.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.327, allocations: 0 / 414.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of Templates: time 0.0073/0.3343, allocations: 4.051 MB / 418.5 MB, free: 12.17 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.423951878212392]