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.006956/0.006956, allocations: 114.5 kB / 21.97 MB, free: 5.227 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.001853/0.001853, allocations: 216.2 kB / 25.28 MB, free: 3.246 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.369/1.369, allocations: 207.6 MB / 236 MB, free: 9.996 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="cs",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.001698/0.001698, allocations: 51.05 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2422, allocations: 49.16 MB / 397.1 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.00344/0.2457, allocations: 2.797 MB / 399.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.2468, allocations: 0.7614 MB / 400.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.2469, allocations: 6.031 kB / 400.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.2471, allocations: 63.73 kB / 400.8 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.2472, allocations: 93.11 kB / 400.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.2476, allocations: 125 kB / 401 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.248, allocations: 437.3 kB / 401.4 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.2482, allocations: 174.1 kB / 401.6 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.2484, allocations: 184.2 kB / 401.7 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.2486, allocations: 198.4 kB / 401.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.706e-05/0.2487, allocations: 49.28 kB / 402 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.374e-05/0.2488, allocations: 45.5 kB / 402 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.098e-05/0.2488, allocations: 100.9 kB / 402.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.249, allocations: 213.8 kB / 402.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.2495, allocations: 0.4949 MB / 402.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2495, allocations: 4.875 kB / 402.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2495, allocations: 0 / 402.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.2495, allocations: 0 / 402.8 MB, free: 5.52 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.001013/0.2505, allocations: 0.6148 MB / 403.5 MB, free: 5.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2506, allocations: 13.36 kB / 403.5 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.21e-05/0.2506, allocations: 11.5 kB / 403.5 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.162e-05/0.2507, allocations: 83.12 kB / 403.6 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.134e-05/0.2508, allocations: 51.38 kB / 403.6 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.251, allocations: 226.8 kB / 403.8 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.251, allocations: 29.69 kB / 403.9 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.864e-05/0.2511, allocations: 44.94 kB / 403.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006447/0.2518, allocations: 452.7 kB / 404.3 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.2518, allocations: 5.922 kB / 404.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.2518, allocations: 16.19 kB / 404.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.2518, allocations: 9.094 kB / 404.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/0.2523, allocations: 281.3 kB / 404.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.254, allocations: 1.244 MB / 405.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.2544, allocations: 220.8 kB / 406.1 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.2548, allocations: 178 kB / 406.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.2548, allocations: 2.812 kB / 406.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.2548, allocations: 37.83 kB / 406.3 MB, free: 3.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.2548, allocations: 0 / 406.3 MB, free: 3.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001285/0.2561, allocations: 476.4 kB / 406.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.2561, allocations: 240.5 kB / 407 MB, free: 2.902 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.2563, allocations: 209 kB / 407.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.2563, allocations: 32.45 kB / 407.3 MB, free: 2.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.2564, allocations: 203.8 kB / 407.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.2565, allocations: 108.8 kB / 407.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/0.2565, allocations: 58.86 kB / 407.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.2566, allocations: 331.7 kB / 407.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.2567, allocations: 79.55 kB / 408 MB, free: 2.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.2569, allocations: 156.9 kB / 408.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008112/0.2577, allocations: 379.6 kB / 408.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2577, allocations: 0 / 408.5 MB, free: 1.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004284/0.2582, allocations: 280.2 kB / 408.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2582, allocations: 5.094 kB / 408.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2582, allocations: 1.656 kB / 408.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2582, allocations: 2.281 kB / 408.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.2585, allocations: 85.7 kB / 408.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.2585, allocations: 14.62 kB / 408.9 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.2587, allocations: 31.7 kB / 409 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.2587, allocations: 12.36 kB / 409 MB, free: 1.633 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.0002466/0.259, allocations: 153.2 kB / 409.1 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.259, allocations: 24.14 kB / 409.1 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/0.2591, allocations: 38.12 kB / 409.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2591, allocations: 4.25 kB / 409.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.2591, allocations: 1.469 kB / 409.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.2591, allocations: 2.062 kB / 409.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009157/0.26, allocations: 0.7336 MB / 409.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.26, allocations: 6.359 kB / 409.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.2603, allocations: 50.17 kB / 410 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002654/0.2605, allocations: 90.45 kB / 410.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.2605, allocations: 8.141 kB / 410.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.2623, allocations: 1.874 MB / 411.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2623, allocations: 0 / 411.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007982/0.2631, allocations: 0.5002 MB / 412.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.2631, allocations: 29.45 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.2632, allocations: 7.875 kB / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.2633, allocations: 15.11 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.2634, allocations: 29.61 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.2634, allocations: 14.38 kB / 412.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.2636, allocations: 146.9 kB / 412.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2636, allocations: 0 / 412.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003929/0.264, allocations: 110.1 kB / 412.8 MB, free: 14.88 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.001118/0.2651, allocations: 1.033 MB / 413.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004232/0.2655, allocations: 201.2 kB / 414 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2655, allocations: 0 / 414 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.2659, allocations: 268.1 kB / 414.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.2663, allocations: 26.44 kB / 414.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.2698, allocations: 2.879 MB / 417.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.2702, allocations: 0.7822 MB / 418 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.199e-05/0.2703, allocations: 23.34 kB / 418 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.2704, allocations: 104 kB / 418.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2704, allocations: 4 kB / 418.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/0.3033, allocations: 6.096 MB / 424.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.79, allocations: 26.73 kB / 424.2 MB, free: 7.613 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.319604144024197]