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.001342/0.001342, 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.001512/0.001512, allocations: 214.8 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.403/1.403, 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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [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.002088/0.002088, allocations: 53.92 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2564, allocations: 49.15 MB / 396.3 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.003107/0.2595, allocations: 2.535 MB / 398.9 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2606, allocations: 0.7247 MB / 399.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.2607, allocations: 6.625 kB / 399.6 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.2609, allocations: 62.48 kB / 399.7 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.261, allocations: 89.94 kB / 399.8 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.2614, allocations: 125.3 kB / 399.9 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.2617, allocations: 444 kB / 400.3 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.262, allocations: 161.4 kB / 400.5 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.2622, allocations: 180.8 kB / 400.6 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.2624, allocations: 167.4 kB / 400.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.065e-05/0.2624, allocations: 44.78 kB / 400.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-05/0.2625, allocations: 45.69 kB / 400.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.68e-05/0.2626, allocations: 101.5 kB / 401 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.2627, allocations: 176 kB / 401.2 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004477/0.2632, allocations: 0.5057 MB / 401.7 MB, free: 5.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2632, allocations: 0 / 401.7 MB, free: 5.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2632, allocations: 1.219 kB / 401.7 MB, free: 5.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.2632, allocations: 0 / 401.7 MB, free: 5.832 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.0008764/0.264, allocations: 0.6183 MB / 402.3 MB, free: 5.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2641, allocations: 12.67 kB / 402.3 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.256e-05/0.2641, allocations: 83.41 kB / 402.4 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.887e-05/0.2642, allocations: 43.8 kB / 402.4 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.2645, allocations: 220.9 kB / 402.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.2645, allocations: 33.03 kB / 402.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.2645, allocations: 47.95 kB / 402.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/0.2652, allocations: 0.6172 MB / 403.3 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.2652, allocations: 3.938 kB / 403.3 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.2652, allocations: 16.78 kB / 403.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.2653, allocations: 14.12 kB / 403.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.2657, allocations: 288.5 kB / 403.7 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.2673, allocations: 1.143 MB / 404.8 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.2677, allocations: 214.4 kB / 405 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000356/0.2681, allocations: 172.9 kB / 405.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.2681, allocations: 7.344 kB / 405.2 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.2681, allocations: 38.56 kB / 405.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.533e-06/0.2681, allocations: 0 / 405.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001316/0.2695, allocations: 479.8 kB / 405.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.2695, allocations: 238.1 kB / 405.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.2697, allocations: 204.6 kB / 406.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.2697, allocations: 35.67 kB / 406.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.2698, allocations: 200.4 kB / 406.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.2698, allocations: 109.1 kB / 406.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.718e-05/0.2699, allocations: 62.41 kB / 406.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.27, allocations: 336.5 kB / 406.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.2701, allocations: 81.48 kB / 406.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.2704, allocations: 342.5 kB / 407.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008209/0.2712, allocations: 371.5 kB / 407.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2712, allocations: 0 / 407.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004128/0.2716, allocations: 284 kB / 407.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2716, allocations: 10.27 kB / 407.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2716, allocations: 0 / 407.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2716, allocations: 2.75 kB / 407.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.272, allocations: 82.3 kB / 408 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.272, allocations: 2.578 kB / 408 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.2721, allocations: 32.2 kB / 408 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.2721, allocations: 12 kB / 408 MB, free: 1.551 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.0002382/0.2724, allocations: 158.3 kB / 408.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.2725, allocations: 31.72 kB / 408.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.2725, allocations: 30.72 kB / 408.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2725, allocations: 2.562 kB / 408.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.2725, allocations: 2.594 kB / 408.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2725, allocations: 1.453 kB / 408.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009674/0.2735, allocations: 0.7038 MB / 409 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2735, allocations: 6.125 kB / 409 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.2738, allocations: 60.3 kB / 409 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002883/0.274, allocations: 92.77 kB / 409.1 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.2741, allocations: 7.297 kB / 409.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.2761, allocations: 1.849 MB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2761, allocations: 1.188 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008251/0.2769, allocations: 0.497 MB / 411.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.277, allocations: 24.95 kB / 411.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.277, allocations: 11.84 kB / 411.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.2772, allocations: 15.8 kB / 411.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.2772, allocations: 25.36 kB / 411.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.2773, allocations: 14.09 kB / 411.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.2774, allocations: 147.2 kB / 411.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2774, allocations: 4.062 kB / 411.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004158/0.2778, allocations: 109.4 kB / 411.8 MB, free: 14.82 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.001145/0.279, allocations: 1.036 MB / 412.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.2794, allocations: 201.3 kB / 413.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.2794, allocations: 4 kB / 413.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/0.2798, allocations: 266.4 kB / 413.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.2801, allocations: 23.03 kB / 413.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.2838, allocations: 2.87 MB / 416.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.284, allocations: 182.4 kB / 416.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.651e-05/0.2841, allocations: 27.2 kB / 416.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.2843, allocations: 104.2 kB / 416.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2843, allocations: 0 / 416.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.3227, allocations: 6.541 MB / 423.1 MB, free: 7.707 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.67, allocations: 0 / 423.1 MB, free: 7.707 MB / 334.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] 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: 14.135160249192268]