Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008371/0.0008371, allocations: 93.45 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009768/0.0009768, allocations: 205.2 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001954/0.0001956, allocations: 4 kB / 307.8 MB, free: 0.7031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08409/0.0843, allocations: 51.52 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.006957/0.09131, allocations: 7.577 MB / 366.9 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003585/0.09492, allocations: 2.615 MB / 369.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005937/0.09553, allocations: 23.94 kB / 369.6 MB, free: 2.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.09679, allocations: 0.4981 MB / 370.1 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000994/0.0978, allocations: 405.1 kB / 370.5 MB, free: 2.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.09823, allocations: 219.8 kB / 370.7 MB, free: 1.809 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.09954, allocations: 1.397 MB / 372.1 MB, free: 416 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.142/0.2415, allocations: 496.2 kB / 372.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008812/0.2425, allocations: 470.7 kB / 373 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005053/0.243, allocations: 0.5157 MB / 373.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.2431, allocations: 64.81 kB / 373.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.2434, allocations: 104.4 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.2435, allocations: 205 kB / 373.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000473/0.244, allocations: 0.5984 MB / 374.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.2455, allocations: 1.614 MB / 376.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2456, allocations: 0.5 kB / 376.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2456, allocations: 0.5312 kB / 376.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.2456, allocations: 0 / 376.1 MB, free: 9.711 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001801/0.2474, allocations: 1.255 MB / 377.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2474, allocations: 9.625 kB / 377.4 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.2476, allocations: 152 kB / 377.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000588/0.2482, allocations: 196 kB / 377.7 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008887/0.2491, allocations: 0.7296 MB / 378.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.2491, allocations: 74.41 kB / 378.5 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.2493, allocations: 100.2 kB / 378.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.2508, allocations: 0.9385 MB / 379.6 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.2509, allocations: 3.109 kB / 379.6 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.36e-05/0.2509, allocations: 42.47 kB / 379.6 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.251, allocations: 24.7 kB / 379.6 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.2521, allocations: 0.6479 MB / 380.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.2563, allocations: 3.942 MB / 384.2 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000585/0.2569, allocations: 448.2 kB / 384.7 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000519/0.2574, allocations: 264 kB / 384.9 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.2574, allocations: 5.531 kB / 384.9 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.2574, allocations: 38.34 kB / 385 MB, free: 6.203 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.2575, allocations: 2.625 kB / 385 MB, free: 6.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.002405/0.2599, allocations: 1.423 MB / 386.4 MB, free: 5.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.2599, allocations: 83.83 kB / 386.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009577/0.2609, allocations: 0.8285 MB / 387.3 MB, free: 4.863 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.2609, allocations: 31.61 kB / 387.3 MB, free: 4.828 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.2612, allocations: 0.5586 MB / 387.9 MB, free: 4.383 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.802e-05/0.2612, allocations: 153.6 kB / 388 MB, free: 4.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.356e-05/0.2613, allocations: 60.86 kB / 388.1 MB, free: 4.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.2614, allocations: 331.5 kB / 388.4 MB, free: 3.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.2617, allocations: 170.9 kB / 388.6 MB, free: 3.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.2621, allocations: 468.2 kB / 389 MB, free: 3.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007218/0.2628, allocations: 0.6704 MB / 389.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2629, allocations: 6.656 kB / 389.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001132/0.264, allocations: 0.7773 MB / 390.5 MB, free: 2.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.264, allocations: 12.34 kB / 390.5 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.264, allocations: 9.406 kB / 390.5 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.2643, allocations: 79.05 kB / 390.6 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.2647, allocations: 159.5 kB / 390.8 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.2663, allocations: 2.875 MB / 393.6 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.2668, allocations: 42.47 kB / 393.7 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.2669, allocations: 40.06 kB / 393.7 MB, free: 15.73 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003954/0.2673, allocations: 260.7 kB / 394 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.2674, allocations: 83.97 kB / 394 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008688/0.2683, allocations: 0.4924 MB / 394.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.2683, allocations: 4.781 kB / 394.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2683, allocations: 3.781 kB / 394.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.2683, allocations: 8.781 kB / 394.6 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.2704, allocations: 1.446 MB / 396 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2704, allocations: 2.469 kB / 396 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.2707, allocations: 75.38 kB / 396.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001832/0.2709, allocations: 74.11 kB / 396.1 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.271, allocations: 12.84 kB / 396.2 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.2728, allocations: 2.869 MB / 399 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2728, allocations: 1.375 kB / 399 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.274, allocations: 0.7785 MB / 399.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.2742, allocations: 194.2 kB / 400 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.088e-05/0.2743, allocations: 14.75 kB / 400 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.2747, allocations: 33.78 kB / 400 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.2748, allocations: 31.09 kB / 400.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.2748, allocations: 18.86 kB / 400.1 MB, free: 10.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007012/0.2755, allocations: 0.557 MB / 400.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2755, allocations: 0 / 400.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007776/0.2763, allocations: 209.8 kB / 400.9 MB, free: 10.31 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * 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 (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00145/0.2778, allocations: 1.352 MB / 402.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.2788, allocations: 0.6845 MB / 402.9 MB, free: 8.859 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2788, allocations: 5.281 kB / 402.9 MB, free: 8.859 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000581/0.2794, allocations: 456 kB / 403.3 MB, free: 8.531 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.2806, allocations: 215.6 kB / 403.6 MB, free: 8.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.2908, allocations: 8.333 MB / 411.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.2914, allocations: 1.001 MB / 412.9 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003903/0.2918, allocations: 103.2 kB / 413 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/0.2922, allocations: 371.3 kB / 413.4 MB, free: 200 kB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2922, allocations: 0 / 413.4 MB, free: 200 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.3222, allocations: 17.87 MB / 431.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.3224, allocations: 234.6 kB / 431.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.286, allocations: 0 / 431.5 MB, free: 14.39 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches