Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001834/0.001834, allocations: 220.9 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 63.91 kB / 378.6 MB, free: 3.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2874, allocations: 53.4 MB / 432 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CoupledInductors): time 0.005023/0.2924, allocations: 2.875 MB / 434.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.2941, allocations: 0.7749 MB / 435.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.2944, allocations: 8 kB / 435.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.2946, allocations: 59.42 kB / 435.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.2949, allocations: 95.06 kB / 435.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.2953, allocations: 127.8 kB / 435.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000515/0.2958, allocations: 454.8 kB / 436.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.2961, allocations: 157.4 kB / 436.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.2964, allocations: 191.4 kB / 436.7 MB, free: 2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.2967, allocations: 207.1 kB / 436.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.403e-05/0.2968, allocations: 44 kB / 436.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.2969, allocations: 55.98 kB / 437 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.297, allocations: 103.7 kB / 437.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.2972, allocations: 219 kB / 437.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005794/0.2978, allocations: 0.5061 MB / 437.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2978, allocations: 4 kB / 437.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2978, allocations: 0 / 437.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2978, allocations: 0 / 437.8 MB, free: 0.8789 MB / 334.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.001136/0.2989, allocations: 0.6224 MB / 438.4 MB, free: 232 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.299, allocations: 8.031 kB / 438.4 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.764e-05/0.299, allocations: 13.19 kB / 438.4 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.706e-05/0.2991, allocations: 78.72 kB / 438.5 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.2993, allocations: 60.64 kB / 438.6 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.2996, allocations: 218.6 kB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.2997, allocations: 37.38 kB / 438.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.2997, allocations: 44.33 kB / 438.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/0.3005, allocations: 447.2 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.3005, allocations: 4 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.3005, allocations: 24 kB / 439.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3005, allocations: 8 kB / 439.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005421/0.3011, allocations: 283.9 kB / 439.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.3031, allocations: 1.263 MB / 440.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.3035, allocations: 214.3 kB / 441.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003828/0.3039, allocations: 181.4 kB / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3039, allocations: 0 / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.304, allocations: 42.5 kB / 441.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.152e-06/0.304, allocations: 0 / 441.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001388/0.3054, allocations: 483.2 kB / 441.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.3055, allocations: 239.3 kB / 442 MB, free: 12.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.3057, allocations: 218.7 kB / 442.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.3058, allocations: 29.7 kB / 442.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.3059, allocations: 204.6 kB / 442.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.446e-05/0.306, allocations: 107.1 kB / 442.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3061, allocations: 65.69 kB / 442.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3063, allocations: 330.8 kB / 443 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.3064, allocations: 75.97 kB / 443 MB, free: 11.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.3067, allocations: 160.9 kB / 443.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.307, allocations: 204.2 kB / 443.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.307, allocations: 4 kB / 443.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004744/0.3075, allocations: 277.1 kB / 443.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3075, allocations: 4 kB / 443.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3075, allocations: 0 / 443.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3075, allocations: 7.938 kB / 443.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.3079, allocations: 83.88 kB / 443.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.3079, allocations: 4 kB / 443.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.3081, allocations: 35.72 kB / 443.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.3081, allocations: 16.06 kB / 443.8 MB, free: 10.53 MB / 350.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 (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.000159/0.3083, allocations: 149.7 kB / 444 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.3083, allocations: 23.86 kB / 444 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.446e-05/0.3084, allocations: 38.64 kB / 444 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3084, allocations: 0 / 444 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.3084, allocations: 4 kB / 444 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3084, allocations: 0 / 444 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.3095, allocations: 0.7312 MB / 444.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3095, allocations: 7.984 kB / 444.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.3098, allocations: 47.91 kB / 444.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003106/0.3101, allocations: 88.81 kB / 444.9 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.3101, allocations: 11.98 kB / 444.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.3123, allocations: 1.866 MB / 446.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3123, allocations: 0 / 446.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008157/0.3131, allocations: 0.5018 MB / 447.3 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.3131, allocations: 23.8 kB / 447.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.3132, allocations: 8.062 kB / 447.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.3133, allocations: 24.17 kB / 447.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.3134, allocations: 23.89 kB / 447.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3134, allocations: 12 kB / 447.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.3135, allocations: 144.6 kB / 447.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3135, allocations: 0 / 447.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004098/0.3139, allocations: 107.8 kB / 447.6 MB, free: 6.523 MB / 350.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.001151/0.3151, allocations: 1.048 MB / 448.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004187/0.3155, allocations: 195.9 kB / 448.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3155, allocations: 128 / 448.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004418/0.316, allocations: 266.5 kB / 449.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.3164, allocations: 31.98 kB / 449.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.3202, allocations: 2.903 MB / 452 MB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.3206, allocations: 0.7831 MB / 452.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.774e-05/0.3207, allocations: 29.92 kB / 452.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.3209, allocations: 103.4 kB / 453 MB, free: 1.008 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3209, allocations: 0 / 453 MB, free: 1.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.353, allocations: 6.288 MB / 459.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.42, allocations: 12.16 kB / 459.3 MB, free: 10.82 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors_fmu --startTime=0 --stopTime=0.2 --stepSize=3.9984e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_CoupledInductors.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/CoupledInductors/CoupledInductors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 15.179696538019925]